|
|
|
@ -7,12 +7,15 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.9.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Simple work-stealing parallelism for Rust
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
|
URL: https://crates.io/crates/rayon
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Bump rand to 0.4, https://github.com/rayon-rs/rayon/pull/502
|
|
|
|
|
Patch0: rayon-0.9.0-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
@ -24,7 +27,7 @@ BuildRequires: (crate(rayon-core) >= 1.3.0 with crate(rayon-core) < 2.0.0)
|
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
BuildRequires: (crate(compiletest_rs) >= 0.3.0 with crate(compiletest_rs) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(docopt) >= 0.8.0 with crate(docopt) < 0.9.0)
|
|
|
|
|
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
@ -64,6 +67,9 @@ which use %{crate} from crates.io.
|
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,bors.toml,ci,scripts}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-3
|
|
|
|
|
- Bump rand to 0.4
|
|
|
|
|
|
|
|
|
|
* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
|
|
|
|
|
- Exclude unneeded files
|
|
|
|
|
|
|
|
|
|