diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..759930b --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,7 @@ +[DEFAULT] +unwanted-features = + nightly + packed_simd + simd_support + stdweb + wasm-bindgen diff --git a/rust-rand.spec b/rust-rand.spec index 01eca5f..6e53105 100644 --- a/rust-rand.spec +++ b/rust-rand.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.7.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Random number generators and other randomness functionality # Upstream license specification: MIT OR Apache-2.0 @@ -115,30 +115,6 @@ which use "log" feature of "%{crate}" crate. %files -n %{name}+log-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+nightly-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+nightly-devel %{_description} - -This package contains library source intended for building other packages -which use "nightly" feature of "%{crate}" crate. - -%files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+packed_simd-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+packed_simd-devel %{_description} - -This package contains library source intended for building other packages -which use "packed_simd" feature of "%{crate}" crate. - -%files -n %{name}+packed_simd-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+rand_pcg-devel Summary: %{summary} BuildArch: noarch @@ -163,18 +139,6 @@ which use "serde1" feature of "%{crate}" crate. %files -n %{name}+serde1-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+simd_support-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+simd_support-devel %{_description} - -This package contains library source intended for building other packages -which use "simd_support" feature of "%{crate}" crate. - -%files -n %{name}+simd_support-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+small_rng-devel Summary: %{summary} BuildArch: noarch @@ -199,30 +163,6 @@ which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+stdweb-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+stdweb-devel %{_description} - -This package contains library source intended for building other packages -which use "stdweb" feature of "%{crate}" crate. - -%files -n %{name}+stdweb-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+wasm-bindgen-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+wasm-bindgen-devel %{_description} - -This package contains library source intended for building other packages -which use "wasm-bindgen" feature of "%{crate}" crate. - -%files -n %{name}+wasm-bindgen-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -242,6 +182,9 @@ which use "wasm-bindgen" feature of "%{crate}" crate. %endif %changelog +* Fri Dec 11 2020 Fabio Valentini - 0.7.3-4 +- Remove features with missing dependencies (packed_simd, stdweb, wasm-bindgen). + * Wed Jul 29 2020 Fedora Release Engineering - 0.7.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild