|
|
|
@ -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 <ignatenkobrain@fedoraproject.org> - 1.3.0-2
|
|
|
|
|
- Bump lazy_static to 1
|
|
|
|
|
|
|
|
|
|
* Tue Nov 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.0-1
|
|
|
|
|
- Update to 1.3.0
|
|
|
|
|
|
|
|
|
|