diff --git a/.gitignore b/.gitignore index b2940ed..fa2031c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /arg_enum_proc_macro-0.1.1.crate +/arg_enum_proc_macro-0.3.0.crate diff --git a/rust-arg_enum_proc_macro.spec b/rust-arg_enum_proc_macro.spec index c3bb35c..128d8be 100644 --- a/rust-arg_enum_proc_macro.spec +++ b/rust-arg_enum_proc_macro.spec @@ -1,28 +1,28 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate arg_enum_proc_macro Name: rust-%{crate} -Version: 0.1.1 -Release: 3%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: Procedural macro compatible with clap arg_enum +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/arg_enum_proc_macro Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -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.0 with crate(syn/default) < 0.16.0) -BuildRequires: (crate(syn/extra-traits) >= 0.15.0 with crate(syn/extra-traits) < 0.16.0) -%global _description \ -A procedural macro compatible with clap arg_enum. +%global _description %{expand: +Procedural macro compatible with clap arg_enum.} %description %{_description} @@ -56,6 +56,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -68,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Sep 15 21:03:48 CEST 2019 Robert-André Mauchin - 0.3.0-1 +- Release 0.3.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index df95d26..d71abc7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (arg_enum_proc_macro-0.1.1.crate) = c1d3ec4e9e8eb4b34bac5424cfd23ae4ab225eb3bc024078f1d58c240cb72629e483cfc7da0b4b459a8663d38dade1669e649a8536ab45396fbbc67769de22a7 +SHA512 (arg_enum_proc_macro-0.3.0.crate) = fe575c5e70c132051d7900885f4aa8c0568efeb383e4f305bb62d69f70f21f1dee9d36e6715d482c594fdbc0e9bfdb445ae55e619d4ab44815b044abad4066da