|
|
@ -1,5 +1,5 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# compiletest_rs is nightly
|
|
|
|
# compiletest_rs is nightly, and some tests use nightly features too
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
@ -13,6 +13,9 @@ Summary: Simple work-stealing parallelism for Rust
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/rayon
|
|
|
|
URL: https://crates.io/crates/rayon
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * remove compiletest_rs (nightly only)
|
|
|
|
|
|
|
|
Patch0: rayon-1.0.1-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
@ -22,7 +25,6 @@ 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)
|
|
|
|
BuildRequires: (crate(rayon-core) >= 1.4.0 with crate(rayon-core) < 2.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [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(docopt) >= 0.8.0 with crate(docopt) < 0.9.0)
|
|
|
|
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 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(rand) >= 0.3.0 with crate(rand) < 0.5.0)
|
|
|
|