Compare commits

...

11 Commits

Author SHA1 Message Date
Fedora Release Engineering faf77f9d28 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
7 months ago
blinxen 644b193acf Update to version 0.8.11; Fixes RHBZ#2265030
11 months ago
Fabio Valentini e8b3455e39
Ignore one harmless test failure on s390x and one OOM issue on i686
1 year ago
Fabio Valentini 80ac6fe11c
Update to version 0.8.8; Fixes RHBZ#2263708
1 year ago
Fedora Release Engineering c848548c61 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1 year ago
Fabio Valentini 9af36d6e69
Update to version 0.8.7; Fixes RHBZ#2256230
1 year ago
Fabio Valentini a4bc0669ab
Update to version 0.8.6; Fixes RHBZ#2245597
1 year ago
Fedora Release Engineering 916a374014 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
Fabio Valentini 5e53061cae
Update to version 0.8.3; Fixes RHBZ#2164234
2 years ago
Fedora Release Engineering ae26d670a4 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago
Fabio Valentini edc41fed65
Update to version 0.8.2; Fixes RHBZ#2117147
2 years ago

7
.gitignore vendored

@ -9,3 +9,10 @@
/ahash-0.7.3.crate /ahash-0.7.3.crate
/ahash-0.7.4.crate /ahash-0.7.4.crate
/ahash-0.7.6.crate /ahash-0.7.6.crate
/ahash-0.8.2.crate
/ahash-0.8.3.crate
/ahash-0.8.5.crate
/ahash-0.8.6.crate
/ahash-0.8.7.crate
/ahash-0.8.8.crate
/ahash-0.8.11.crate

@ -1,3 +0,0 @@
# rust-ahash
The rust-ahash package

@ -0,0 +1,30 @@
--- ahash-0.8.11/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ahash-0.8.11/Cargo.toml 2024-03-31T21:46:41.442254+00:00
@@ -75,16 +75,6 @@
bench = true
doc = true
-[[bench]]
-name = "ahash"
-path = "tests/bench.rs"
-harness = false
-
-[[bench]]
-name = "map"
-path = "tests/map_tests.rs"
-harness = false
-
[dependencies.atomic-polyfill]
version = "1.0.1"
optional = true
@@ -108,10 +98,6 @@
version = "0.7.31"
features = ["simd"]
default-features = false
-
-[dev-dependencies.criterion]
-version = "0.3.2"
-features = ["html_reports"]
[dev-dependencies.fnv]
version = "1.0.5"

@ -1,29 +1,25 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 26
# * disable tests to around compilation issues on some architectures %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate ahash %global crate ahash
Name: rust-%{crate} Name: rust-ahash
Version: 0.7.6 Version: 0.8.11
Release: %autorelease Release: %autorelease
Summary: Non-cryptographic hash function using AES-NI for high performance Summary: Non-cryptographic hash function using AES-NI for high performance
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/ahash URL: https://crates.io/crates/ahash
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused benchmarks and benchmark-only criterion dev-dependency
Patch: ahash-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: cargo-rpm-macros >= 24
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Non-cryptographic hash function using AES-NI for high performance.} A non-cryptographic hash function using AES-NI for high performance.}
%description %{_description} %description %{_description}
@ -33,13 +29,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/FAQ.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -47,11 +45,23 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+atomic-polyfill-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+atomic-polyfill-devel %{_description}
This package contains library source intended for building other packages which
use the "atomic-polyfill" feature of the "%{crate}" crate.
%files -n %{name}+atomic-polyfill-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+compile-time-rng-devel %package -n %{name}+compile-time-rng-devel
Summary: %{summary} Summary: %{summary}
@ -59,11 +69,11 @@ BuildArch: noarch
%description -n %{name}+compile-time-rng-devel %{_description} %description -n %{name}+compile-time-rng-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "compile-time-rng" feature of "%{crate}" crate. use the "compile-time-rng" feature of the "%{crate}" crate.
%files -n %{name}+compile-time-rng-devel %files -n %{name}+compile-time-rng-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+const-random-devel %package -n %{name}+const-random-devel
Summary: %{summary} Summary: %{summary}
@ -71,11 +81,59 @@ BuildArch: noarch
%description -n %{name}+const-random-devel %{_description} %description -n %{name}+const-random-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "const-random" feature of "%{crate}" crate. use the "const-random" feature of the "%{crate}" crate.
%files -n %{name}+const-random-devel %files -n %{name}+const-random-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+getrandom-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+getrandom-devel %{_description}
This package contains library source intended for building other packages which
use the "getrandom" feature of the "%{crate}" crate.
%files -n %{name}+getrandom-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nightly-arm-aes-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+nightly-arm-aes-devel %{_description}
This package contains library source intended for building other packages which
use the "nightly-arm-aes" feature of the "%{crate}" crate.
%files -n %{name}+nightly-arm-aes-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no-rng-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+no-rng-devel %{_description}
This package contains library source intended for building other packages which
use the "no-rng" feature of the "%{crate}" crate.
%files -n %{name}+no-rng-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+runtime-rng-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+runtime-rng-devel %{_description}
This package contains library source intended for building other packages which
use the "runtime-rng" feature of the "%{crate}" crate.
%files -n %{name}+runtime-rng-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -83,11 +141,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -95,15 +153,17 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
# remove benchmark sources from non-standard path in tests/
rm tests/{bench.rs,map_tests.rs}
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
@ -116,8 +176,19 @@ which use "std" feature of "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
%ifarch x86_64 aarch64 ppc64le
%cargo_test %cargo_test
%endif %endif
%ifarch %{ix86}
# * skip tests that cannot allocate enough memory
%cargo_test -- -- --skip hash_quality_test::fallback_tests::fallback_test_no_full_collisions
%endif
%ifarch s390x
# * one test fails only on s390x:
# https://github.com/tkaitchuck/aHash/issues/152
%cargo_test -- -- --skip operations::test::test_add_length
%endif
%endif
%changelog %changelog
%autochangelog %autochangelog

@ -1 +1 @@
SHA512 (ahash-0.7.6.crate) = 61354688b6fb096359faefb6f34be958cd2215d56b88c22c737d24183eaad433f811bc9e64f927e4852c87d2799c22fda82b55cfbef2ed6357ff74f0c4ffec68 SHA512 (ahash-0.8.11.crate) = 47d211b2422de0b381dfe32229faa346406eb7a22dff867dc04c22389609a8671ce3218e662000c49891a06c259d82e0ff4413740f007729d80e097a6c3f0d9d

Loading…
Cancel
Save