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-rand0.6.spec b/rust-rand0.6.spec index c09cd14..7aef457 100644 --- a/rust-rand0.6.spec +++ b/rust-rand0.6.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 16 %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate}0.6 Version: 0.6.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Random number generators and other randomness functionality # Upstream license specification: MIT/Apache-2.0 @@ -42,7 +42,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE COPYRIGHT %doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -54,7 +54,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} @@ -66,7 +66,7 @@ This package contains library source intended for building other packages which use "alloc" feature of "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+i128_support-devel Summary: %{summary} @@ -78,7 +78,7 @@ This package contains library source intended for building other packages which use "i128_support" feature of "%{crate}" crate. %files -n %{name}+i128_support-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} @@ -90,31 +90,7 @@ This package contains library source intended for building other packages which use "log" feature of "%{crate}" crate. %files -n %{name}+log-devel -%ghost %{cargo_registry}/%{crate}-%{version}/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}/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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+rand_os-devel Summary: %{summary} @@ -126,7 +102,7 @@ This package contains library source intended for building other packages which use "rand_os" feature of "%{crate}" crate. %files -n %{name}+rand_os-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde1-devel Summary: %{summary} @@ -138,19 +114,7 @@ This package contains library source intended for building other packages which use "serde1" feature of "%{crate}" crate. %files -n %{name}+serde1-devel -%ghost %{cargo_registry}/%{crate}-%{version}/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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -162,31 +126,7 @@ This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/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}/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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -207,6 +147,9 @@ which use "wasm-bindgen" feature of "%{crate}" crate. %endif %changelog +* Fri Dec 11 2020 Fabio Valentini - 0.6.5-5 +- Remove features with missing dependencies (packed_simd, stdweb, wasm-bindgen). + * Wed Jul 29 2020 Fedora Release Engineering - 0.6.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild