Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 5857081d4d
commit ba6dd2f98d
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
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,11 +16,11 @@ URL: https://crates.io/crates/strum
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%if %{with check}
BuildRequires: (crate(strum_macros/default) >= 0.15.0 with crate(strum_macros/default) < 0.16.0)
%endif
%global _description %{expand:
Helpful macros for working with enums and strings.}
@ -55,6 +55,9 @@ which use "default" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -67,5 +70,8 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sun Jun 23 11:29:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.0-2
- Regenerate
* Fri May 31 14:01:07 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.0-1
- Initial package

Loading…
Cancel
Save