diff --git a/rayon-1.0.1-fix-metadata.diff b/rayon-1.0.1-fix-metadata.diff index 958caaf..8b310ce 100644 --- a/rayon-1.0.1-fix-metadata.diff +++ b/rayon-1.0.1-fix-metadata.diff @@ -1,5 +1,14 @@ ---- rayon-1.0.1/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ rayon-1.0.1/Cargo.toml 2018-03-16T14:28:17.194520-07:00 +--- rayon-1.0.1/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ rayon-1.0.1/Cargo.toml 2018-06-14T08:25:13.102151+02:00 +@@ -28,7 +28,7 @@ + [dependencies.rayon-core] + version = "1.4" + [dev-dependencies.docopt] +-version = "0.8" ++version = "1" + + [dev-dependencies.lazy_static] + version = "1" @@ -41,5 +41,3 @@ [dev-dependencies.serde_derive] diff --git a/rust-rayon.spec b/rust-rayon.spec index 51380ea..61227e9 100644 --- a/rust-rayon.spec +++ b/rust-rayon.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 1.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple work-stealing parallelism for Rust License: ASL 2.0 or MIT @@ -15,6 +15,7 @@ URL: https://crates.io/crates/rayon Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * remove compiletest_rs (nightly only) +# * Bump docopt to 1, https://github.com/rayon-rs/rayon/pull/577 Patch0: rayon-1.0.1-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,7 +26,7 @@ BuildRequires: (crate(either) >= 1.0.0 with crate(either) < 2.0.0) BuildRequires: (crate(rayon-core) >= 1.4.0 with crate(rayon-core) < 2.0.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(docopt) >= 0.8.0 with crate(docopt) < 0.9.0) +BuildRequires: (crate(docopt) >= 1.0.0 with crate(docopt) < 2.0.0) BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.5.0) BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) @@ -67,6 +68,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,bors.toml,ci,scripts} %changelog +* Thu Jun 14 2018 Igor Gnatenko - 1.0.1-2 +- Bump docopt to 1 + * Fri Mar 16 2018 Josh Stone - 1.0.1-1 - Update to 1.0.1