|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 15
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate structopt
|
|
|
|
%global crate structopt
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.20
|
|
|
|
Version: 0.3.21
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Parse command line argument by defining a struct
|
|
|
|
Summary: Parse command line argument by defining a struct
|
|
|
|
|
|
|
|
|
|
|
@ -13,10 +13,6 @@ Summary: Parse command line argument by defining a struct
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/structopt
|
|
|
|
URL: https://crates.io/crates/structopt
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * drop lints feature: clippy crate is not packaged
|
|
|
|
|
|
|
|
# * drop paw feature: paw is not packaged
|
|
|
|
|
|
|
|
Patch0: structopt-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -142,10 +138,6 @@ which use "yaml" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
# remove executable bit from ... everything
|
|
|
|
|
|
|
|
for i in $(find -type f -executable); do
|
|
|
|
|
|
|
|
chmod a-x $i;
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
@ -165,6 +157,9 @@ done
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Dec 03 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.21-1
|
|
|
|
|
|
|
|
- Update to version 0.3.21.
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 9 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.20-1
|
|
|
|
* Mon Nov 9 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.20-1
|
|
|
|
- Update to version 0.3.20.
|
|
|
|
- Update to version 0.3.20.
|
|
|
|
- Drop "lints" and "paw" features with broken dependencies.
|
|
|
|
- Drop "lints" and "paw" features with broken dependencies.
|
|
|
|