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

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

Loading…
Cancel
Save