|
|
@ -5,12 +5,12 @@
|
|
|
|
%global crate structopt-derive
|
|
|
|
%global crate structopt-derive
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.6
|
|
|
|
Version: 0.2.5
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Parse command line argument by defining a struct, derive crate
|
|
|
|
Summary: Parse command line argument by defining a struct, derive crate
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/TeXitoi/structopt/issues/61
|
|
|
|
# https://github.com/TeXitoi/structopt/issues/61
|
|
|
|
License: WTFPL
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/structopt-derive
|
|
|
|
URL: https://crates.io/crates/structopt-derive
|
|
|
|
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,8 +18,9 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(quote) >= 0.3.12 with crate(quote) < 0.4.0)
|
|
|
|
BuildRequires: (crate(proc-macro2) >= 0.2.0 with crate(proc-macro2) < 0.3.0)
|
|
|
|
BuildRequires: (crate(syn) >= 0.11.4 with crate(syn) < 0.12.0)
|
|
|
|
BuildRequires: (crate(quote) >= 0.4.0 with crate(quote) < 0.5.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(syn) >= 0.12.0 with crate(syn) < 0.13.0)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
@ -50,8 +51,12 @@ which use %{crate} from crates.io.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%{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.6-1
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.6-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|