Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 71b830dc5e
commit 222cf8e4b6
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,14 +1,15 @@
# Generated by rust2rpm # Generated by rust2rpm 10
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate darling_core %global crate darling_core
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.9.0 Version: 0.9.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Helper crate for proc-macro library for reading attributes into structs Summary: Helper crate for proc-macro library for reading attributes into structs
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/darling_core URL: https://crates.io/crates/darling_core
Source: %{crates_source} Source: %{crates_source}
@ -17,19 +18,15 @@ Source: %{crates_source}
Patch0: darling_core-fix-metadata.diff Patch0: darling_core-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging 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) %global _description %{expand:
BuildRequires: (crate(proc-macro2/default) >= 0.4.26 with crate(proc-macro2/default) < 0.5.0) Helper crate for proc-macro library for reading attributes into structs when
BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0) implementing custom derives. Use https://crates.io/crates/darling in your code.}
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.
%description %{_description} %description %{_description}
@ -98,6 +95,9 @@ which use "suggestions" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -110,6 +110,9 @@ which use "suggestions" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 13:04:36 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-3
- Regenerate
* Sun Apr 07 09:02:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2 * Sun Apr 07 09:02:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
- Update strsim to 0.9 - Update strsim to 0.9

Loading…
Cancel
Save