From 2e10bf069db97578950770343509d75b68d94ff7 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 2 Dec 2020 15:02:29 +0100 Subject: [PATCH] remove features with broken dependencies (compiletest_rs) --- .rust2rpm.conf | 4 ++++ rust-derive_builder.spec | 45 +++++++++++----------------------------- 2 files changed, 16 insertions(+), 33 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..f4dd67e --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + compiletest_rs + nightlytests diff --git a/rust-derive_builder.spec b/rust-derive_builder.spec index fdc2dbc..b862653 100644 --- a/rust-derive_builder.spec +++ b/rust-derive_builder.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 11 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.9.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Rust macro to automatically implement the builder pattern for arbitrary structs # Upstream license specification: MIT/Apache-2.0 @@ -39,7 +39,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -51,19 +51,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 - -%package -n %{name}+compiletest_rs-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+compiletest_rs-devel %{_description} - -This package contains library source intended for building other packages -which use "compiletest_rs" feature of "%{crate}" crate. - -%files -n %{name}+compiletest_rs-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+env_logger-devel Summary: %{summary} @@ -75,7 +63,7 @@ This package contains library source intended for building other packages which use "env_logger" feature of "%{crate}" crate. %files -n %{name}+env_logger-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} @@ -87,7 +75,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 +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+logging-devel Summary: %{summary} @@ -99,19 +87,7 @@ This package contains library source intended for building other packages which use "logging" feature of "%{crate}" crate. %files -n %{name}+logging-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+nightlytests-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+nightlytests-devel %{_description} - -This package contains library source intended for building other packages -which use "nightlytests" feature of "%{crate}" crate. - -%files -n %{name}+nightlytests-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+skeptic-devel Summary: %{summary} @@ -123,7 +99,7 @@ This package contains library source intended for building other packages which use "skeptic" feature of "%{crate}" crate. %files -n %{name}+skeptic-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+skeptic_tests-devel Summary: %{summary} @@ -135,7 +111,7 @@ This package contains library source intended for building other packages which use "skeptic_tests" feature of "%{crate}" crate. %files -n %{name}+skeptic_tests-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 @@ -156,6 +132,9 @@ which use "skeptic_tests" feature of "%{crate}" crate. %endif %changelog +* Wed Dec 02 2020 Fabio Valentini - 0.9.0-5 +- Remove features with broken dependencies (compiletest_rs). + * Sat Aug 01 2020 Fedora Release Engineering - 0.9.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild