|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate ahash
|
|
|
|
%global crate ahash
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-ahash
|
|
|
|
Name: rust-ahash
|
|
|
|
Version: 0.8.3
|
|
|
|
Version: 0.8.6
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
@ -14,7 +14,6 @@ URL: https://crates.io/crates/ahash
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused benchmarks and benchmark-only criterion dev-dependency
|
|
|
|
# * drop unused benchmarks and benchmark-only criterion dev-dependency
|
|
|
|
# * drop profiles which set incompatible compiler flags
|
|
|
|
|
|
|
|
Patch: ahash-fix-metadata.diff
|
|
|
|
Patch: ahash-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
@ -149,7 +148,7 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/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/
|
|
|
|
# remove benchmark sources from non-standard path in tests/
|
|
|
|
rm tests/{bench.rs,map_tests.rs}
|
|
|
|
rm tests/{bench.rs,map_tests.rs}
|
|
|
|