diff --git a/.gitignore b/.gitignore index 1f8efcc..48c25e9 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /structopt-derive-0.2.15.crate /structopt-derive-0.2.16.crate /structopt-derive-0.2.17.crate +/structopt-derive-0.2.18.crate diff --git a/rust-structopt-derive.spec b/rust-structopt-derive.spec index 3fc8215..15a41c5 100644 --- a/rust-structopt-derive.spec +++ b/rust-structopt-derive.spec @@ -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 - 0.2.18-1 +- Update to 0.2.18 + * Sun Jun 02 08:58:57 CEST 2019 Igor Gnatenko - 0.2.17-1 - Update to 0.2.17 diff --git a/sources b/sources index 6efa12d..3799740 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (structopt-derive-0.2.17.crate) = 3745c5563de0452d66e96322af4f885328e33c2411ce4c0ff5ae65f22aead59e2162271a85e8315726d6946441f87fa69df1a82f9dd1aab617883e4844f456e1 +SHA512 (structopt-derive-0.2.18.crate) = b3bb2a2c1b28aa275ae25d60ca0a3878b715293950748fdd4ce5c791bc5e7fbf066db3bf4678b7a6fb3a61b2b2703ff14503f87db3659281c7b201b427c59965