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

@ -1,4 +1,5 @@
# Generated by rust2rpm 9 # Generated by rust2rpm 10
# * synstructure_test_traits is not packaged
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
@ -6,7 +7,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.10.2 Version: 0.10.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Helper methods and macros for custom derives Summary: Helper methods and macros for custom derives
# Upstream license specification: MIT # Upstream license specification: MIT
@ -15,17 +16,11 @@ URL: https://crates.io/crates/synstructure
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(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.0 with crate(syn/default) < 0.16.0)
BuildRequires: (crate(syn/extra-traits) >= 0.15.0 with crate(syn/extra-traits) < 0.16.0)
BuildRequires: (crate(syn/visit) >= 0.15.0 with crate(syn/visit) < 0.16.0)
BuildRequires: (crate(unicode-xid/default) >= 0.1.0 with crate(unicode-xid/default) < 0.2.0)
%if %{with check}
BuildRequires: (crate(synstructure_test_traits/default) >= 0.1.0 with crate(synstructure_test_traits/default) < 0.2.0)
%endif
%global _description %{expand: %global _description %{expand:
Helper methods and macros for custom derives.} Helper methods and macros for custom derives.}
@ -74,6 +69,9 @@ which use "simple-derive" 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
@ -86,6 +84,9 @@ which use "simple-derive" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 12:47:39 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.2-2
- Regenerate
* Wed May 15 09:15:33 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.2-1 * Wed May 15 09:15:33 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.2-1
- Update to 0.10.2 - Update to 0.10.2

Loading…
Cancel
Save