From 4a9e11ad7d97e2828d494cc84286d7cea3c2bd58 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 23:43:07 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-strum_macros.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/rust-strum_macros.spec b/rust-strum_macros.spec index 876f879..f466a45 100644 --- a/rust-strum_macros.spec +++ b/rust-strum_macros.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 9 -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate strum_macros Name: rust-%{crate} Version: 0.15.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Helpful macros for working with enums and strings # Upstream license specification: MIT @@ -16,14 +16,11 @@ URL: https://crates.io/crates/strum_macros 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.0 with crate(syn/default) < 0.16.0) -BuildRequires: (crate(syn/extra-traits) >= 0.15.0 with crate(syn/extra-traits) < 0.16.0) -BuildRequires: (crate(syn/parsing) >= 0.15.0 with crate(syn/parsing) < 0.16.0) %global _description %{expand: Helpful macros for working with enums and strings.} @@ -190,6 +187,9 @@ which use "verbose-tostring-name" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -202,5 +202,8 @@ which use "verbose-tostring-name" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 23:42:52 CEST 2019 Igor Gnatenko - 0.15.0-2 +- Regenerate + * Fri May 31 14:01:33 CEST 2019 Igor Gnatenko - 0.15.0-1 - Initial package