|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate num-bigint
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Big integer implementation for Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -15,8 +15,12 @@ URL: https://crates.io/crates/num-bigint
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
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-traits) >= 0.2.4 with crate(num-traits) < 0.3.0)
|
|
|
|
@ -24,9 +28,10 @@ BuildRequires: (crate(num-traits/std) >= 0.2.4 with crate(num-traits/std) < 0.3
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Big integer implementation for Rust.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Big integer implementation for Rust.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -120,6 +125,9 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 09 14:54:44 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-5
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sat Mar 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-4
|
|
|
|
|
- Do not pull optional dependencies
|
|
|
|
|
|
|
|
|
|