Remove unneeded structopt feature

- Check in rust2rpm.conf config

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 9969bdecc1
commit 3a6eb4de2a
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

@ -13,7 +13,6 @@ License: MIT
URL: https://crates.io/crates/build-fs-tree URL: https://crates.io/crates/build-fs-tree
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # 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 Patch: build-fs-tree-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
@ -49,18 +48,6 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %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 %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep

@ -0,0 +1,6 @@
[DEFAULT]
unwanted-features =
cli
cli-completions
structopt
structopt-utilities
Loading…
Cancel
Save