From 2a16778f2cb91293ac28b73e03844000a6120d7a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 12:45:43 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-darling.spec | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/rust-darling.spec b/rust-darling.spec index 88d8d61..9182fc3 100644 --- a/rust-darling.spec +++ b/rust-darling.spec @@ -1,33 +1,29 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate darling Name: rust-%{crate} Version: 0.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Proc-macro library for reading attributes into structs +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/darling Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: crate(darling_core/default) = 0.9.0 -BuildRequires: crate(darling_core/suggestions) = 0.9.0 -BuildRequires: crate(darling_macro/default) = 0.9.0 -%if %{with check} -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.26 with crate(syn/default) < 0.16.0) -%endif -%global _description \ -A proc-macro library for reading attributes into structs when implementing\ -custom derives. +%global _description %{expand: +Proc-macro library for reading attributes into structs when implementing custom +derives.} %description %{_description} @@ -85,6 +81,9 @@ which use "suggestions" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -97,6 +96,9 @@ which use "suggestions" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 12:45:15 CEST 2019 Igor Gnatenko - 0.9.0-2 +- Regenerate + * Mon Mar 25 19:33:25 CET 2019 Igor Gnatenko - 0.9.0-1 - Update to 0.9.0