|
|
@ -6,12 +6,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.41
|
|
|
|
Version: 0.1.41
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Big integer implementation for Rust
|
|
|
|
Summary: Big integer implementation for Rust
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/num-bigint
|
|
|
|
URL: https://crates.io/crates/num-bigint
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Bump rand to 0.4, https://github.com/rust-num/num-bigint/pull/11
|
|
|
|
|
|
|
|
Patch0: num-bigint-0.1.41-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
@ -19,12 +22,12 @@ BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(num-integer) >= 0.1.32 with crate(num-integer) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-integer) >= 0.1.32 with crate(num-integer) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-traits) >= 0.1.32 with crate(num-traits) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-traits) >= 0.1.32 with crate(num-traits) < 0.2.0)
|
|
|
|
BuildRequires: (crate(rand) >= 0.3.14 with crate(rand) < 0.4.0)
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
BuildRequires: (crate(rustc-serialize) >= 0.3.19 with crate(rustc-serialize) < 0.4.0)
|
|
|
|
BuildRequires: (crate(rustc-serialize) >= 0.3.19 with crate(rustc-serialize) < 0.4.0)
|
|
|
|
BuildRequires: (crate(serde) >= 0.7.0 with crate(serde) < 0.9.0)
|
|
|
|
BuildRequires: (crate(serde) >= 0.7.0 with crate(serde) < 0.9.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(rand) >= 0.3.14 with crate(rand) < 0.4.0)
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -60,6 +63,9 @@ which use %{crate} from crates.io.
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-2
|
|
|
|
|
|
|
|
- Bump rand to 0.4
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-1
|
|
|
|
* Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-1
|
|
|
|
- Update to 0.1.41
|
|
|
|
- Update to 0.1.41
|
|
|
|
|
|
|
|
|
|
|
|