Compare commits

..

No commits in common. 'epel9' and 'i9ce' have entirely different histories.
epel9 ... i9ce

8
.gitignore vendored

@ -1,7 +1 @@
/same-file-1.0.0.crate SOURCES/same-file-1.0.6.crate
/same-file-1.0.1.crate
/same-file-1.0.2.crate
/same-file-1.0.3.crate
/same-file-1.0.4.crate
/same-file-1.0.5.crate
/same-file-1.0.6.crate

@ -0,0 +1 @@
0666a423c9fe447d63e2cf28764acd02baab8c28 SOURCES/same-file-1.0.6.crate

@ -1,3 +0,0 @@
# rust-same-file
The rust-same-file package

@ -1,3 +1,94 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.5)
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
release_number = 8;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
## END: Set by rpmautospec
# Generated by rust2rpm 19
%bcond_without check
%global debug_package %{nil}
%global crate same-file
Name: rust-%{crate}
Version: 1.0.6
Release: %autorelease
Summary: Simple crate for determining whether two file paths point to the same file
# Upstream license specification: Unlicense/MIT
License: Unlicense or MIT
URL: https://crates.io/crates/same-file
Source: %{crates_source}
# Initial patched metadata
# * No windows
Patch0: same-file-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Simple crate for determining whether two file paths point to the same file.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use "%{crate}" crate.
%files devel
%license COPYING LICENSE-MIT UNLICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use "the default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.6-8
- Rebuilt for MSVSphere 9.3
* Wed Dec 29 2021 Igor Raits <ignatenkobrain@fedoraproject.org> 1.0.6-8
- Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-5 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
@ -72,3 +163,4 @@
* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.3-1 * Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.3-1
- Initial package - Initial package

@ -1,77 +0,0 @@
# Generated by rust2rpm 19
%bcond_without check
%global debug_package %{nil}
%global crate same-file
Name: rust-%{crate}
Version: 1.0.6
Release: %autorelease
Summary: Simple crate for determining whether two file paths point to the same file
# Upstream license specification: Unlicense/MIT
License: Unlicense or MIT
URL: https://crates.io/crates/same-file
Source: %{crates_source}
# Initial patched metadata
# * No windows
Patch0: same-file-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Simple crate for determining whether two file paths point to the same file.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use "%{crate}" crate.
%files devel
%license COPYING LICENSE-MIT UNLICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use "the default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -1 +0,0 @@
SHA512 (same-file-1.0.6.crate) = 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c
Loading…
Cancel
Save