Bump rand to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 6d70adc2cb
commit 9e5ebff731

@ -0,0 +1,11 @@
--- rayon-0.9.0/Cargo.toml 1970-01-01T01:00:00+01:00
+++ rayon-0.9.0/Cargo.toml 2017-12-31T15:33:56.527213+01:00
@@ -34,7 +34,7 @@
version = "0.8"
[dev-dependencies.rand]
-version = "0.3"
+version = "0.4"
[dev-dependencies.serde]
version = "1"

@ -7,12 +7,15 @@
Name: rust-%{crate}
Version: 0.9.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Simple work-stealing parallelism for Rust
License: ASL 2.0 or MIT
URL: https://crates.io/crates/rayon
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump rand to 0.4, https://github.com/rayon-rs/rayon/pull/502
Patch0: rayon-0.9.0-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -24,7 +27,7 @@ BuildRequires: (crate(rayon-core) >= 1.3.0 with crate(rayon-core) < 2.0.0)
# [dev-dependencies]
BuildRequires: (crate(compiletest_rs) >= 0.3.0 with crate(compiletest_rs) < 0.4.0)
BuildRequires: (crate(docopt) >= 0.8.0 with crate(docopt) < 0.9.0)
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
%endif
@ -64,6 +67,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,bors.toml,ci,scripts}
%changelog
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-3
- Bump rand to 0.4
* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
- Exclude unneeded files

Loading…
Cancel
Save