diff --git a/rayon-core-1.3.0-fix-metadata.diff b/rayon-core-1.3.0-fix-metadata.diff index 61b632e..02cc6a8 100644 --- a/rayon-core-1.3.0-fix-metadata.diff +++ b/rayon-core-1.3.0-fix-metadata.diff @@ -1,5 +1,5 @@ --- rayon-core-1.3.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ rayon-core-1.3.0/Cargo.toml 2017-11-30T18:25:55.003845+01:00 ++++ rayon-core-1.3.0/Cargo.toml 2017-12-31T15:20:55.619484+01:00 @@ -24,10 +24,10 @@ license = "Apache-2.0/MIT" repository = "https://github.com/nikomatsakis/rayon" @@ -13,3 +13,11 @@ [dependencies.libc] version = "0.2.16" +@@ -36,6 +36,6 @@ + version = "1.2" + + [dependencies.rand] +-version = "0.3" ++version = "0.4" + + [dev-dependencies] diff --git a/rust-rayon-core.spec b/rust-rayon-core.spec index 050b29d..6437c44 100644 --- a/rust-rayon-core.spec +++ b/rust-rayon-core.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 1.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Core APIs for Rayon License: ASL 2.0 or MIT @@ -16,6 +16,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ # Initial patched metadata # * Bump coco to 0.3, https://github.com/rayon-rs/rayon/pull/471 # * Bump lazy_static to 1, https://github.com/rayon-rs/rayon/pull/484 +# * Bump rand to 0.4, https://github.com/rayon-rs/rayon/pull/502 Patch0: rayon-core-1.3.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -26,7 +27,7 @@ BuildRequires: (crate(coco) >= 0.3.0 with crate(coco) < 0.4.0) BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(libc) >= 0.2.16 with crate(libc) < 0.3.0) BuildRequires: (crate(num_cpus) >= 1.2.0 with crate(num_cpus) < 2.0.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) %description %{summary}. @@ -64,6 +65,9 @@ sed -i 's/\r$//' README.md %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sun Dec 31 2017 Igor Gnatenko - 1.3.0-4 +- Bump rand to 0.4 + * Sun Dec 03 2017 Igor Gnatenko - 1.3.0-3 - Fix end-of-line