diff --git a/rayon-core-1.3.0-fix-metadata.diff b/rayon-core-1.3.0-fix-metadata.diff index 15f8c6c..61b632e 100644 --- a/rayon-core-1.3.0-fix-metadata.diff +++ b/rayon-core-1.3.0-fix-metadata.diff @@ -1,6 +1,6 @@ --- rayon-core-1.3.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ rayon-core-1.3.0/Cargo.toml 2017-11-14T23:22:39.603559+01:00 -@@ -24,7 +24,7 @@ ++++ rayon-core-1.3.0/Cargo.toml 2017-11-30T18:25:55.003845+01:00 +@@ -24,10 +24,10 @@ license = "Apache-2.0/MIT" repository = "https://github.com/nikomatsakis/rayon" [dependencies.coco] @@ -8,4 +8,8 @@ +version = "0.3" [dependencies.lazy_static] - version = "0.2.2" +-version = "0.2.2" ++version = "1" + + [dependencies.libc] + version = "0.2.16" diff --git a/rust-rayon-core.spec b/rust-rayon-core.spec index 51bc15e..a85bb75 100644 --- a/rust-rayon-core.spec +++ b/rust-rayon-core.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 1.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Core APIs for Rayon License: ASL 2.0 or MIT @@ -15,6 +15,7 @@ URL: https://crates.io/crates/rayon-core Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # 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 Patch0: rayon-core-1.3.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -22,7 +23,7 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(coco) >= 0.3.0 with crate(coco) < 0.4.0) -BuildRequires: (crate(lazy_static) >= 0.2.2 with crate(lazy_static) < 0.3.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) @@ -61,6 +62,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Nov 30 2017 Igor Gnatenko - 1.3.0-2 +- Bump lazy_static to 1 + * Tue Nov 14 2017 Igor Gnatenko - 1.3.0-1 - Update to 1.3.0