Compare commits

...

3 Commits

@ -1,5 +1,6 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check # * outdated dev-dependency: adler32
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate simd-adler32 %global crate simd-adler32
@ -12,11 +13,8 @@ Summary: SIMD-accelerated Adler-32 hash algorithm implementation
License: MIT License: MIT
URL: https://crates.io/crates/simd-adler32 URL: https://crates.io/crates/simd-adler32
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: simd-adler32-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A SIMD-accelerated Adler-32 hash algorithm implementation.} A SIMD-accelerated Adler-32 hash algorithm implementation.}
@ -87,7 +85,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
%generate_buildrequires %generate_buildrequires

@ -0,0 +1,4 @@
[tests]
run = ["none"]
comments = ["outdated dev-dependency: adler32"]

@ -1,31 +0,0 @@
--- simd-adler32-0.3.7/Cargo.toml 1970-01-01T00:00:01+00:00
+++ simd-adler32-0.3.7/Cargo.toml 2023-07-27T14:59:12.584721+00:00
@@ -31,28 +31,11 @@
license = "MIT"
repository = "https://github.com/mcountryman/simd-adler32"
-[profile.release]
-opt-level = 2
-debug = 2
-
-[[bench]]
-name = "alts"
-path = "bench/alts.rs"
-harness = false
-
-[[bench]]
-name = "variants"
-path = "bench/variants.rs"
-harness = false
-
[dev-dependencies.adler]
version = "1.0.2"
[dev-dependencies.adler32]
version = "1.2.0"
-
-[dev-dependencies.criterion]
-version = "0.3"
[dev-dependencies.rand]
version = "0.8"
Loading…
Cancel
Save