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

@ -1,12 +1,12 @@
# Generated by rust2rpm 9
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate strum_macros
Name: rust-%{crate}
Version: 0.15.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Helpful macros for working with enums and strings
# Upstream license specification: MIT
@ -16,14 +16,11 @@ URL: https://crates.io/crates/strum_macros
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(heck/default) >= 0.3.0 with crate(heck/default) < 0.4.0)
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/parsing) >= 0.15.0 with crate(syn/parsing) < 0.16.0)
%global _description %{expand:
Helpful macros for working with enums and strings.}
@ -190,6 +187,9 @@ which use "verbose-tostring-name" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -202,5 +202,8 @@ which use "verbose-tostring-name" feature of "%{crate}" crate.
%endif
%changelog
* Sat Jun 22 23:42:52 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.0-2
- Regenerate
* Fri May 31 14:01:33 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.0-1
- Initial package

Loading…
Cancel
Save