|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate num
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Collection of numeric types and traits for Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -15,8 +15,12 @@ URL: https://crates.io/crates/num
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
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)
|
|
|
|
@ -29,10 +33,11 @@ BuildRequires: (crate(num-rational/bigint) >= 0.2.1 with crate(num-rational/big
|
|
|
|
|
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 \
|
|
|
|
|
A collection of numeric types and traits for Rust, including bigint, complex,\
|
|
|
|
|
rational, range iterators, generic integers, and more!
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Collection of numeric types and traits for Rust, including bigint, complex,
|
|
|
|
|
rational, range iterators, generic integers, and more!.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -139,6 +144,9 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 09 14:48:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-7
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sat Mar 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-6
|
|
|
|
|
- Do not pull optional dependencies
|
|
|
|
|
|
|
|
|
|