|
|
|
@ -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
|
|
|
|
|