From 1562890039ca54375283a36e804f3b270362afa3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Nov 25 2020 14:07:30 +0000 Subject: remove features that have broken dependencies or are nightly-only --- diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..00db5f4 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,5 @@ +[DEFAULT] +unwanted-features = + clippy + lints + nightly diff --git a/rust-clap.spec b/rust-clap.spec index 5c91985..8b37164 100644 --- a/rust-clap.spec +++ b/rust-clap.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: 2.33.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple to use, efficient, and full-featured Command Line Argument Parser # Upstream license specification: MIT @@ -15,6 +15,7 @@ URL: https://crates.io/crates/clap Source: %{crates_source} # Initial patched metadata # * Exclude useless files +# * Bump strsim from 0.8 to 0.10 Patch0: clap-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -79,18 +80,6 @@ which use "atty" feature of "%{crate}" crate. %files -n %{name}+atty-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}+color-devel Summary: %{summary} BuildArch: noarch @@ -127,30 +116,6 @@ which use "doc" feature of "%{crate}" crate. %files -n %{name}+doc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+lints-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+lints-devel %{_description} - -This package contains library source intended for building other packages -which use "lints" feature of "%{crate}" crate. - -%files -n %{name}+lints-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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_no_tilde}/Cargo.toml - %package -n %{name}+no_cargo-devel Summary: %{summary} BuildArch: noarch @@ -278,6 +243,9 @@ which use "yaml-rust" feature of "%{crate}" crate. %endif %changelog +* Wed Nov 25 2020 Fabio Valentini - 2.33.3-3 +- Remove features that have broken dependencies or are nightly-only. + * Sat Sep 26 2020 Fabio Valentini - 2.33.3-2 - Bump strsim to 0.10.