patch out compiletest_rs

epel9
Josh Stone 7 years ago
parent 935bca5161
commit a088168f06

@ -0,0 +1,8 @@
--- rayon-1.0.1/Cargo.toml 1969-12-31T16:00:00-08:00
+++ rayon-1.0.1/Cargo.toml 2018-03-16T14:28:17.194520-07:00
@@ -41,5 +41,3 @@
[dev-dependencies.serde_derive]
version = "1"
-[target."cfg(not(all(windows, target_env = \"gnu\")))".dev-dependencies.compiletest_rs]
-version = "0.3"

@ -1,5 +1,5 @@
# Generated by rust2rpm
# compiletest_rs is nightly
# compiletest_rs is nightly, and some tests use nightly features too
%bcond_with check
%global debug_package %{nil}
@ -13,6 +13,9 @@ 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
# * remove compiletest_rs (nightly only)
Patch0: rayon-1.0.1-fix-metadata.diff
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)
%if %{with check}
# [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(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.5.0)

Loading…
Cancel
Save