|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate structopt-derive
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.17
|
|
|
|
|
Version: 0.2.18
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Parse command line argument by defining a struct, derive crate
|
|
|
|
|
|
|
|
|
@ -15,12 +15,11 @@ URL: https://crates.io/crates/structopt-derive
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(heck/default) >= 0.3.0 with crate(heck/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(syn/default) >= 0.15.10 with crate(syn/default) < 0.16.0)
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Parse command line argument by defining a struct, derive crate.}
|
|
|
|
@ -80,6 +79,9 @@ which use "paw" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -92,6 +94,9 @@ which use "paw" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 27 17:19:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.18-1
|
|
|
|
|
- Update to 0.2.18
|
|
|
|
|
|
|
|
|
|
* Sun Jun 02 08:58:57 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.17-1
|
|
|
|
|
- Update to 0.2.17
|
|
|
|
|
|
|
|
|
|