diff --git a/rust-darling_core.spec b/rust-darling_core.spec index f96ceea..e3b8d23 100644 --- a/rust-darling_core.spec +++ b/rust-darling_core.spec @@ -1,14 +1,15 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate darling_core Name: rust-%{crate} Version: 0.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Helper crate for proc-macro library for reading attributes into structs +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/darling_core Source: %{crates_source} @@ -17,19 +18,15 @@ Source: %{crates_source} Patch0: darling_core-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(fnv/default) >= 1.0.6 with crate(fnv/default) < 2.0.0) -BuildRequires: (crate(ident_case/default) >= 1.0.0 with crate(ident_case/default) < 2.0.0) -BuildRequires: (crate(proc-macro2/default) >= 0.4.26 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) -BuildRequires: (crate(syn/extra-traits) >= 0.15.26 with crate(syn/extra-traits) < 0.16.0) -BuildRequires: (crate(syn/full) >= 0.15.26 with crate(syn/full) < 0.16.0) - -%global _description \ -Helper crate for proc-macro library for reading attributes into structs when\ -implementing custom derives. Use https://crates.io/crates/darling in your code. + +%global _description %{expand: +Helper crate for proc-macro library for reading attributes into structs when +implementing custom derives. Use https://crates.io/crates/darling in your code.} %description %{_description} @@ -98,6 +95,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 @@ -110,6 +110,9 @@ which use "suggestions" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 13:04:36 CEST 2019 Igor Gnatenko - 0.9.0-3 +- Regenerate + * Sun Apr 07 09:02:49 CEST 2019 Igor Gnatenko - 0.9.0-2 - Update strsim to 0.9