From 45b94756bcc15ade97600380868c595e78c7900d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 25 Nov 2020 15:29:51 +0100 Subject: [PATCH] remove features with broken dependencies --- .rust2rpm.conf | 3 +++ rust-crc-any.spec | 19 +++++-------------- 2 files changed, 8 insertions(+), 14 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..bb9bde1 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + heapless diff --git a/rust-crc-any.spec b/rust-crc-any.spec index 78ca9f0..e27f722 100644 --- a/rust-crc-any.spec +++ b/rust-crc-any.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: 2.3.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Compute CRC values # Upstream license specification: MIT @@ -89,18 +89,6 @@ which use "development" feature of "%{crate}" crate. %files -n %{name}+development-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+heapless-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+heapless-devel %{_description} - -This package contains library source intended for building other packages -which use "heapless" feature of "%{crate}" crate. - -%files -n %{name}+heapless-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -132,6 +120,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Wed Nov 25 2020 Fabio Valentini - 2.3.5-3 +- Remove features with broken dependencies. + * Wed Jul 29 2020 Fedora Release Engineering - 2.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild