|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate num-derive
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Numeric syntax extensions
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -15,18 +15,14 @@ URL: https://crates.io/crates/num-derive
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
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 \
|
|
|
|
|
Numeric syntax extensions.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Numeric syntax extensions.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -72,6 +68,9 @@ which use "full-syntax" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -84,6 +83,9 @@ which use "full-syntax" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Update to 0.2.5
|
|
|
|
|
|
|
|
|
|