From 47d2848b8bdad1e575a22d0bfc19e78df70ef4f2 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 27 Jul 2023 13:11:28 +0200 Subject: [PATCH] Enable feature for simd-accelerated adler32 hash --- rust-miniz_oxide.spec | 24 ++++++++++++++++++++++++ rust2rpm.conf | 2 -- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/rust-miniz_oxide.spec b/rust-miniz_oxide.spec index 6f9436d..6934330 100644 --- a/rust-miniz_oxide.spec +++ b/rust-miniz_oxide.spec @@ -50,6 +50,30 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+simd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd-devel %{_description} + +This package contains library source intended for building other packages which +use the "simd" feature of the "%{crate}" crate. + +%files -n %{name}+simd-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+simd-adler32-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd-adler32-devel %{_description} + +This package contains library source intended for building other packages which +use the "simd-adler32" feature of the "%{crate}" crate. + +%files -n %{name}+simd-adler32-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.conf b/rust2rpm.conf index f49a81e..86bc300 100644 --- a/rust2rpm.conf +++ b/rust2rpm.conf @@ -3,6 +3,4 @@ unwanted-features = alloc compiler_builtins core - simd-adler32 rustc-dep-of-std - simd