From 1e3028f51939b5ab40ea8413885bc118abedb727 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 2 Dec 2020 15:07:29 +0100 Subject: [PATCH] remove features with missing dependencies (clippy) --- .rust2rpm.conf | 4 ++++ rust-lazycell.spec | 31 +++++-------------------------- 2 files changed, 9 insertions(+), 26 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..1e979c6 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + clippy + nightly-testing diff --git a/rust-lazycell.spec b/rust-lazycell.spec index 9621949..8505534 100644 --- a/rust-lazycell.spec +++ b/rust-lazycell.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: 1.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library providing a lazily filled Cell struct # Upstream license specification: MIT/Apache-2.0 @@ -52,18 +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}+clippy-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+clippy-devel %{_description} - -This package contains library source intended for building other packages -which use "clippy" feature of "%{crate}" crate. - -%files -n %{name}+clippy-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+nightly-devel Summary: %{summary} BuildArch: noarch @@ -76,18 +64,6 @@ which use "nightly" feature of "%{crate}" crate. %files -n %{name}+nightly-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+nightly-testing-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+nightly-testing-devel %{_description} - -This package contains library source intended for building other packages -which use "nightly-testing" feature of "%{crate}" crate. - -%files -n %{name}+nightly-testing-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -119,6 +95,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Wed Dec 02 2020 Fabio Valentini - 1.3.0-2 +- Remove features with missing dependencies (clippy). + * Thu Aug 20 2020 Josh Stone - 1.3.0-1 - Update to 1.3.0