Bump rand to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 6345e8bbf6
commit 5ec3947816

@ -0,0 +1,20 @@
--- num-bigint-0.1.41/Cargo.toml 1970-01-01T01:00:00+01:00
+++ num-bigint-0.1.41/Cargo.toml 2018-01-01T12:14:32.255858+01:00
@@ -25,7 +25,7 @@
version = "0.1.32"
[dependencies.rand]
-version = "0.3.14"
+version = "0.4"
optional = true
[dependencies.rustc-serialize]
@@ -39,7 +39,7 @@
[dependencies.num-traits]
version = "0.1.32"
[dev-dependencies.rand]
-version = "0.3.14"
+version = "0.4"
[features]
default = ["rand", "rustc-serialize"]

@ -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

Loading…
Cancel
Save