From fe13d8479eb87ecb331da90d0d50fa03ab98e58c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 12:46:31 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-darling_macro.spec | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/rust-darling_macro.spec b/rust-darling_macro.spec index 92fbfa0..f648b0e 100644 --- a/rust-darling_macro.spec +++ b/rust-darling_macro.spec @@ -1,29 +1,30 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate darling_macro Name: rust-%{crate} Version: 0.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Internal support for a proc-macro library for reading attributes into structs +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/darling_macro Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0) -BuildRequires: (crate(syn/default) >= 0.15.26 with crate(syn/default) < 0.16.0) -BuildRequires: crate(darling_core/default) = 0.9.0 -%global _description \ -Internal support for a proc-macro library for reading attributes into structs\ -when implementing custom derives.\ -Use https://crates.io/crates/darling in your code. +%global _description %{expand: +Internal support for a proc-macro library for reading attributes into structs +when implementing custom derives. Use https://crates.io/crates/darling in your +code.} %description %{_description} @@ -56,6 +57,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 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 12:45:59 CEST 2019 Igor Gnatenko - 0.9.0-2 +- Regenerate + * Mon Mar 25 19:34:18 CET 2019 Igor Gnatenko - 0.9.0-1 - Update to 0.9.0