|
|
@ -5,11 +5,11 @@
|
|
|
|
%global crate structopt
|
|
|
|
%global crate structopt
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.7
|
|
|
|
Version: 0.2.5
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Parse command line argument by defining a struct
|
|
|
|
Summary: Parse command line argument by defining a struct
|
|
|
|
|
|
|
|
|
|
|
|
License: WTFPL
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/structopt
|
|
|
|
URL: https://crates.io/crates/structopt
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
|
|
|
|
|
|
@ -18,10 +18,7 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(clap) >= 2.20.0 with crate(clap) < 3.0.0)
|
|
|
|
BuildRequires: (crate(clap) >= 2.20.0 with crate(clap) < 3.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
BuildRequires: (crate(structopt-derive) >= 0.2.5 with crate(structopt-derive) < 0.3.0)
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
|
|
|
BuildRequires: (crate(structopt-derive) >= 0.1.6 with crate(structopt-derive) < 0.2.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
@ -52,10 +49,13 @@ which use %{crate} from crates.io.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license COPYING
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.2.5-1
|
|
|
|
|
|
|
|
- Update to 0.2.5
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|