Update to 1.4.0

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent ee8084c9c3
commit 37b0158eaa
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -1 +1,2 @@
/rayon-core-1.3.0.crate
/rayon-core-1.4.0.crate

@ -1,23 +0,0 @@
--- rayon-core-1.3.0/Cargo.toml 1970-01-01T01:00:00+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"
[dependencies.coco]
-version = "0.1.1"
+version = "0.3"
[dependencies.lazy_static]
-version = "0.2.2"
+version = "1"
[dependencies.libc]
version = "0.2.16"
@@ -36,6 +36,6 @@
version = "1.2"
[dependencies.rand]
-version = "0.3"
+version = "0.4"
[dev-dependencies]

@ -0,0 +1,11 @@
--- rayon-core-1.4.0/Cargo.toml 1970-01-01T01:00:00+01:00
+++ rayon-core-1.4.0/Cargo.toml 2018-02-15T18:15:05.296001+01:00
@@ -24,7 +24,7 @@
license = "Apache-2.0/MIT"
repository = "https://github.com/rayon-rs/rayon"
[dependencies.crossbeam-deque]
-version = "0.2.0"
+version = "0.3"
[dependencies.lazy_static]
version = "1"

@ -6,28 +6,26 @@
%global crate rayon-core
Name: rust-%{crate}
Version: 1.3.0
Release: 6%{?dist}
Version: 1.4.0
Release: 1%{?dist}
Summary: Core APIs for Rayon
License: ASL 2.0 or MIT
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
# * Bump rand to 0.4, https://github.com/rayon-rs/rayon/pull/502
Patch0: rayon-core-1.3.0-fix-metadata.diff
# * Bump crossbeam-deque to 0.3, https://github.com/rayon-rs/rayon/pull/535
Patch0: rayon-core-1.4.0-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(coco) >= 0.3.0 with crate(coco) < 0.4.0)
BuildRequires: (crate(crossbeam-deque) >= 0.3.0 with crate(crossbeam-deque) < 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.4.0 with crate(rand) < 0.5.0)
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.5.0)
%description
%{summary}.
@ -44,8 +42,6 @@ which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
# https://github.com/rayon-rs/rayon/pull/486
sed -i 's/\r$//' README.md
%cargo_prep
%build
@ -65,6 +61,9 @@ sed -i 's/\r$//' README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Thu Feb 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.0-1
- Update to 1.4.0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

@ -1 +1 @@
SHA512 (rayon-core-1.3.0.crate) = 62b890e0505af6464ff76e0d08b885030bf65cca78d79b9ae610503ac3978d58db93b5463ab8d4281dde1b510f4e2f3745e13b381410e29ec81376e34853a28e
SHA512 (rayon-core-1.4.0.crate) = cc8bb71068e01753dfe937cade32fd3565d85516b6d346b1ec5d2b6a0e3a753e8db9cb221acd36ff583d9aeba70ac9061ed3e1c820cbbaa23524c1aed4234879

Loading…
Cancel
Save