|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.0
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Collection of numeric types and traits for Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -20,20 +20,6 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(num-bigint/std) >= 0.2.0 with crate(num-bigint/std) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(num-complex) >= 0.2.0 with crate(num-complex) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(num-complex/std) >= 0.2.0 with crate(num-complex/std) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(num-integer) >= 0.1.39 with crate(num-integer) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(num-integer/std) >= 0.1.39 with crate(num-integer/std) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(num-iter) >= 0.1.37 with crate(num-iter) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(num-iter/std) >= 0.1.37 with crate(num-iter/std) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(num-rational) >= 0.2.1 with crate(num-rational) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(num-rational/bigint) >= 0.2.1 with crate(num-rational/bigint) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(num-rational/std) >= 0.2.1 with crate(num-rational/std) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(num-traits) >= 0.2.5 with crate(num-traits) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(num-traits/std) >= 0.2.5 with crate(num-traits/std) < 0.3.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Collection of numeric types and traits for Rust, including bigint, complex,
|
|
|
|
@ -132,6 +118,9 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -144,6 +133,9 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 21 08:57:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-8
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 14:48:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-7
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|