Bump rand to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 9458c1cf46
commit c137aef764

@ -0,0 +1,11 @@
--- num-0.1.41/Cargo.toml 1970-01-01T01:00:00+01:00
+++ num-0.1.41/Cargo.toml 2018-01-01T13:14:15.420869+01:00
@@ -50,7 +50,7 @@
version = "0.1.41"
optional = true
[dev-dependencies.rand]
-version = "0.3.8"
+version = "0.4"
[features]
complex = ["num-complex"]

@ -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: Collection of numeric types and traits for Rust Summary: Collection of numeric types and traits for Rust
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/num URL: https://crates.io/crates/num
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, upstream removed this req
Patch0: num-0.1.41-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -25,7 +28,7 @@ BuildRequires: (crate(num-rational) >= 0.1.40 with crate(num-rational) < 0.2.0)
BuildRequires: (crate(num-traits) >= 0.1.41 with crate(num-traits) < 0.2.0) BuildRequires: (crate(num-traits) >= 0.1.41 with crate(num-traits) < 0.2.0)
%if %{with check} %if %{with check}
# [dev-dependencies] # [dev-dependencies]
BuildRequires: (crate(rand) >= 0.3.8 with crate(rand) < 0.4.0) BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
%endif %endif
%description %description
@ -64,6 +67,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci,doc} %exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci,doc}
%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