diff --git a/rust-build-fs-tree.spec b/rust-build-fs-tree.spec index 11b15be..718bb80 100644 --- a/rust-build-fs-tree.spec +++ b/rust-build-fs-tree.spec @@ -13,7 +13,6 @@ License: MIT URL: https://crates.io/crates/build-fs-tree Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * don't compile binaries, we don't need them yet Patch: build-fs-tree-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -49,18 +48,6 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+structopt-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+structopt-devel %{_description} - -This package contains library source intended for building other packages which -use the "structopt" feature of the "%{crate}" crate. - -%files -n %{name}+structopt-devel -%ghost %{crate_instdir}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..346b968 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,6 @@ +[DEFAULT] +unwanted-features = + cli + cli-completions + structopt + structopt-utilities