diff --git a/crossbeam-0.3.0-fix-metadata.diff b/crossbeam-0.3.0-fix-metadata.diff new file mode 100644 index 0000000..1de1b0b --- /dev/null +++ b/crossbeam-0.3.0-fix-metadata.diff @@ -0,0 +1,11 @@ +--- crossbeam-0.3.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ crossbeam-0.3.0/Cargo.toml 2017-12-31T19:13:00.122306+01:00 +@@ -21,7 +21,7 @@ + license = "Apache-2.0/MIT" + repository = "https://github.com/crossbeam-rs/crossbeam" + [dev-dependencies.rand] +-version = "0.3" ++version = "0.4" + + [features] + nightly = [] diff --git a/rust-crossbeam.spec b/rust-crossbeam.spec index dea2507..41c3922 100644 --- a/rust-crossbeam.spec +++ b/rust-crossbeam.spec @@ -6,18 +6,22 @@ Name: rust-%{crate} Version: 0.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Support for lock-free data structures, synchronizers, and parallel programming License: ASL 2.0 or MIT URL: https://crates.io/crates/crossbeam Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump rand to 0.4, https://github.com/crossbeam-rs/crossbeam/pull/162 +Patch0: crossbeam-0.3.0-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %if %{with check} -BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0) +# [dev-dependencies] +BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) %endif %description @@ -56,6 +60,9 @@ which use %{crate} from crates.io. %exclude %{_bindir}/{stress-msq,bench} %changelog +* Sun Dec 31 2017 Igor Gnatenko - 0.3.0-2 +- Bump rand to 0.4 + * Sun Nov 05 2017 Igor Gnatenko - 0.3.0-1 - Update to 0.3.0