From c66ce48b46467a972fdf1e55407c9ee2d1afe94c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 28 Nov 2020 14:39:17 +0100 Subject: [PATCH] remove features with missing dependencies --- .rust2rpm.conf | 5 +++++ rust-futures-timer.spec | 43 +++++------------------------------------ 2 files changed, 10 insertions(+), 38 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..3decd72 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,5 @@ +[DEFAULT] +unwanted-features = + gloo-timers + send_wrapper + wasm-bindgen diff --git a/rust-futures-timer.spec b/rust-futures-timer.spec index 362f027..9f0adde 100644 --- a/rust-futures-timer.spec +++ b/rust-futures-timer.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 # * Circular dep with async-std %bcond_with check %global debug_package %{nil} @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 3.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Timeouts for futures # Upstream license specification: MIT/Apache-2.0 @@ -53,42 +53,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}+gloo-timers-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+gloo-timers-devel %{_description} - -This package contains library source intended for building other packages -which use "gloo-timers" feature of "%{crate}" crate. - -%files -n %{name}+gloo-timers-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+send_wrapper-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+send_wrapper-devel %{_description} - -This package contains library source intended for building other packages -which use "send_wrapper" feature of "%{crate}" crate. - -%files -n %{name}+send_wrapper-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 @@ -108,6 +72,9 @@ which use "wasm-bindgen" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 28 2020 Fabio Valentini - 3.0.2-3 +- Remove features with missing dependencies. + * Wed Jul 29 2020 Fedora Release Engineering - 3.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild