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

@ -1,29 +1,30 @@
# Generated by rust2rpm # Generated by rust2rpm 10
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate darling_macro %global crate darling_macro
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.9.0 Version: 0.9.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Internal support for a proc-macro library for reading attributes into structs Summary: Internal support for a proc-macro library for reading attributes into structs
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/darling_macro URL: https://crates.io/crates/darling_macro
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging 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 \ %global _description %{expand:
Internal support for a proc-macro library for reading attributes into structs\ Internal support for a proc-macro library for reading attributes into structs
when implementing custom derives.\ when implementing custom derives. Use https://crates.io/crates/darling in your
Use https://crates.io/crates/darling in your code. code.}
%description %{_description} %description %{_description}
@ -56,6 +57,9 @@ which use "default" 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
@ -68,6 +72,9 @@ which use "default" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 12:45:59 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
- Regenerate
* Mon Mar 25 19:34:18 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-1 * Mon Mar 25 19:34:18 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-1
- Update to 0.9.0 - Update to 0.9.0

Loading…
Cancel
Save