|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.0.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Simple work-stealing parallelism for Rust
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
@ -15,6 +15,7 @@ URL: https://crates.io/crates/rayon
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * remove compiletest_rs (nightly only)
|
|
|
|
|
# * Bump docopt to 1, https://github.com/rayon-rs/rayon/pull/577
|
|
|
|
|
Patch0: rayon-1.0.1-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -25,7 +26,7 @@ BuildRequires: (crate(either) >= 1.0.0 with crate(either) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(rayon-core) >= 1.4.0 with crate(rayon-core) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
BuildRequires: (crate(docopt) >= 0.8.0 with crate(docopt) < 0.9.0)
|
|
|
|
|
BuildRequires: (crate(docopt) >= 1.0.0 with crate(docopt) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
|
|
|
|
@ -67,6 +68,9 @@ which use %{crate} from crates.io.
|
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,bors.toml,ci,scripts}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.1-2
|
|
|
|
|
- Bump docopt to 1
|
|
|
|
|
|
|
|
|
|
* Fri Mar 16 2018 Josh Stone <jistone@redhat.com> - 1.0.1-1
|
|
|
|
|
- Update to 1.0.1
|
|
|
|
|
|
|
|
|
|