diff --git a/rayon-0.9.0-fix-metadata.diff b/rayon-0.9.0-fix-metadata.diff new file mode 100644 index 0000000..9c6e773 --- /dev/null +++ b/rayon-0.9.0-fix-metadata.diff @@ -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" diff --git a/rust-rayon.spec b/rust-rayon.spec index 65cbf31..6c1a6ce 100644 --- a/rust-rayon.spec +++ b/rust-rayon.spec @@ -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 - 0.9.0-3 +- Bump rand to 0.4 + * Sun Dec 03 2017 Igor Gnatenko - 0.9.0-2 - Exclude unneeded files