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

@ -1,12 +1,12 @@
# Generated by rust2rpm # Generated by rust2rpm 10
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate num-derive %global crate num-derive
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.5 Version: 0.2.5
Release: 1%{?dist} Release: 2%{?dist}
Summary: Numeric syntax extensions Summary: Numeric syntax extensions
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -15,18 +15,14 @@ URL: https://crates.io/crates/num-derive
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.2 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)
%if %{with check}
BuildRequires: (crate(num-traits/default) >= 0.2.0 with crate(num-traits/default) < 0.3.0)
BuildRequires: (crate(num/default) >= 0.2.0 with crate(num/default) < 0.3.0)
%endif
%global _description \ %global _description %{expand:
Numeric syntax extensions. Numeric syntax extensions.}
%description %{_description} %description %{_description}
@ -72,6 +68,9 @@ which use "full-syntax" 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
@ -84,6 +83,9 @@ which use "full-syntax" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 12:51:27 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.5-2
- Regenerate
* Wed Apr 24 08:23:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.5-1 * Wed Apr 24 08:23:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.5-1
- Update to 0.2.5 - Update to 0.2.5

Loading…
Cancel
Save