diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..72ad43c --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + asm + md5-asm diff --git a/rust-md-5.spec b/rust-md-5.spec index 0bdbb87..61ffa3a 100644 --- a/rust-md-5.spec +++ b/rust-md-5.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.9.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: MD5 hash function # Upstream license specification: MIT OR Apache-2.0 @@ -52,30 +52,6 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+asm-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+asm-devel %{_description} - -This package contains library source intended for building other packages -which use "asm" feature of "%{crate}" crate. - -%files -n %{name}+asm-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+md5-asm-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+md5-asm-devel %{_description} - -This package contains library source intended for building other packages -which use "md5-asm" feature of "%{crate}" crate. - -%files -n %{name}+md5-asm-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -107,6 +83,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Dec 12 2020 Fabio Valentini - 0.9.1-3 +- Remove features with missing dependencies (md5-asm). + * Wed Jul 29 2020 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild