From 8f20ba739b45796db3230301402a407c2e4aa60c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 8 Sep 2018 11:39:37 +0200 Subject: [PATCH] Update to 0.4.1 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + crossbeam-0.3.2-fix-metadata.diff | 11 ----------- rust-crossbeam.spec | 25 ++++++++++++++++--------- sources | 2 +- 4 files changed, 18 insertions(+), 21 deletions(-) delete mode 100644 crossbeam-0.3.2-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 2697869..d0034ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /crossbeam-0.3.0.crate /crossbeam-0.3.2.crate +/crossbeam-0.4.1.crate diff --git a/crossbeam-0.3.2-fix-metadata.diff b/crossbeam-0.3.2-fix-metadata.diff deleted file mode 100644 index 126615b..0000000 --- a/crossbeam-0.3.2-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- crossbeam-0.3.2/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ crossbeam-0.3.2/Cargo.toml 2018-01-05T13:52:34.767219+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 a24af8a..d334b34 100644 --- a/rust-crossbeam.spec +++ b/rust-crossbeam.spec @@ -5,23 +5,26 @@ %global crate crossbeam Name: rust-%{crate} -Version: 0.3.2 -Release: 4%{?dist} -Summary: Support for lock-free data structures, synchronizers, and parallel programming +Version: 0.4.1 +Release: 1%{?dist} +Summary: Support for concurrent programming -License: ASL 2.0 or MIT +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 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.2-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging +# [dependencies] +BuildRequires: (crate(crossbeam-channel) >= 0.2.0 with crate(crossbeam-channel) < 0.3.0) +BuildRequires: (crate(crossbeam-deque) >= 0.5.0 with crate(crossbeam-deque) < 0.6.0) +BuildRequires: (crate(crossbeam-epoch) >= 0.5.0 with crate(crossbeam-epoch) < 0.6.0) +BuildRequires: (crate(crossbeam-utils) >= 0.5.0 with crate(crossbeam-utils) < 0.6.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) +BuildRequires: (crate(rand) >= 0.5.0 with crate(rand) < 0.6.0) %endif %description @@ -32,7 +35,8 @@ Summary: %{summary} BuildArch: noarch %description devel -Support for lock-free data structures, synchronizers, and parallel programming. +Support for concurrent programming: memory management, utilities, non-blocking +data structures. This package contains library source intended for building other packages which use %{crate} from crates.io. @@ -60,6 +64,9 @@ which use %{crate} from crates.io. %exclude %{_bindir}/{stress-msq,bench} %changelog +* Sat Sep 08 2018 Igor Gnatenko - 0.4.1-1 +- Update to 0.4.1 + * Sat Jul 14 2018 Fedora Release Engineering - 0.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 751b552..975d8e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-0.3.2.crate) = e467a84c3a3655ed1108e2af2ee75dc1fd7bd435dc28fa29e43c055edd26d24d8a5d95edac86fb428e52ba70fcca68ac960952442d0a451568877c371057f0e9 +SHA512 (crossbeam-0.4.1.crate) = 026ba3b96057f073140528b99f253aec74e65aff05fc19649f54d53cf07d8f2ac4c84908a0f4462840801caf77ba2019f922ded310396066880e88caa095fbf1