commit 54d28f167f3fc98c18e692f2e621d49ece517c4f Author: tigro Date: Mon Nov 20 11:42:41 2023 +0300 import rust-seahash-4.1.0-5.el9 diff --git a/.rust-seahash.metadata b/.rust-seahash.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/seahash-4.1.0.crate b/SOURCES/seahash-4.1.0.crate new file mode 100644 index 0000000..e41073d Binary files /dev/null and b/SOURCES/seahash-4.1.0.crate differ diff --git a/SOURCES/seahash-fix-metadata.diff b/SOURCES/seahash-fix-metadata.diff new file mode 100644 index 0000000..2cdb0f3 --- /dev/null +++ b/SOURCES/seahash-fix-metadata.diff @@ -0,0 +1,15 @@ +--- seahash-4.1.0/Cargo.toml 2021-01-16T05:41:29+00:00 ++++ seahash-4.1.0/Cargo.toml 2022-10-05T20:28:20.913429+00:00 +@@ -21,12 +21,6 @@ + license = "MIT" + repository = "https://gitlab.redox-os.org/redox-os/seahash" + +-[[bench]] +-name = "bench" +-harness = false +-[dev-dependencies.criterion] +-version = "0.3" +- + [dev-dependencies.quickcheck] + version = "0.9.2" + diff --git a/SPECS/rust-seahash.spec b/SPECS/rust-seahash.spec new file mode 100644 index 0000000..d56f05d --- /dev/null +++ b/SPECS/rust-seahash.spec @@ -0,0 +1,131 @@ +# Generated by rust2rpm 22 +%bcond_without check +%global debug_package %{nil} + +%global crate seahash + +Name: rust-seahash +Version: 4.1.0 +Release: 5%{?dist} +Summary: Blazingly fast, portable hash function with proven statistical guarantees + +# https://github.com/redox-os/tfs/pull/76 +License: MIT +URL: https://crates.io/crates/seahash +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * drop unused, benchmark-only criterion dev-dependency to speed up builds +Patch: seahash-fix-metadata.diff + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Blazingly fast, portable hash function with proven statistical guarantees.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+use_std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+use_std-devel %{_description} + +This package contains library source intended for building other packages which +use the "use_std" feature of the "%{crate}" crate. + +%files -n %{name}+use_std-devel +%ghost %{crate_instdir}/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 Nov 20 2023 Arkady L. Shane - 4.1.0-5 +- Rebuilt for MSVSphere 9.2 + +* Wed Oct 05 2022 Fabio Valentini - 4.1.0-5 +- Drop unused, benchmark-only criterion dev-dependency to speed up builds. + +* Sat Jul 23 2022 Fedora Release Engineering - 4.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 4.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 4.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat May 01 2021 Fabio Valentini - 4.1.0-1 +- Update to version 4.1.0. + +* Wed Jan 27 2021 Fedora Release Engineering - 3.0.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 3.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Josh Stone - 3.0.7-1 +- Update to 3.0.7 + +* Fri Jul 26 2019 Fedora Release Engineering - 3.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Mar 04 2019 Igor Gnatenko - 3.0.6-1 +- Update to 3.0.6 + +* Sat Feb 02 2019 Fedora Release Engineering - 3.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 3.0.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 3.0.5-2 +- Rebuild for rust-packaging v5 + +* Fri Dec 01 2017 Igor Gnatenko - 3.0.5-1 +- Initial package