From 904ee05de4734e15b2c223df29525bc5ecb2c21d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 8 Sep 2018 23:42:19 +0200 Subject: [PATCH] remove nightly features Signed-off-by: Igor Gnatenko --- crossbeam-fix-metadata.diff | 8 ++++++++ rust-crossbeam.spec | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 crossbeam-fix-metadata.diff diff --git a/crossbeam-fix-metadata.diff b/crossbeam-fix-metadata.diff new file mode 100644 index 0000000..cded320 --- /dev/null +++ b/crossbeam-fix-metadata.diff @@ -0,0 +1,8 @@ +--- crossbeam-0.4.1/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ crossbeam-0.4.1/Cargo.toml 2018-09-08T23:41:51.896701+02:00 +@@ -38,5 +38,4 @@ + + [features] + default = ["use_std"] +-nightly = ["crossbeam-epoch/nightly", "crossbeam-utils/nightly"] + use_std = ["crossbeam-epoch/use_std", "crossbeam-utils/use_std"] diff --git a/rust-crossbeam.spec b/rust-crossbeam.spec index d334b34..7e92578 100644 --- a/rust-crossbeam.spec +++ b/rust-crossbeam.spec @@ -13,6 +13,9 @@ Summary: Support for concurrent programming License: MIT or ASL 2.0 URL: https://crates.io/crates/crossbeam Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * No nightly +Patch0: crossbeam-fix-metadata.diff ExclusiveArch: %{rust_arches}