From eea27dee6c1818632515cf617e69d27ee13fdba1 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 15 Jan 2020 11:22:12 -0800 Subject: [PATCH] Bump to autocfg 1 --- crossbeam-epoch-fix-metadata.diff | 11 +++++++++++ rust-crossbeam-epoch.spec | 24 +++++++++++++++--------- 2 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 crossbeam-epoch-fix-metadata.diff diff --git a/crossbeam-epoch-fix-metadata.diff b/crossbeam-epoch-fix-metadata.diff new file mode 100644 index 0000000..7738707 --- /dev/null +++ b/crossbeam-epoch-fix-metadata.diff @@ -0,0 +1,11 @@ +--- crossbeam-epoch-0.8.0/Cargo.toml 2019-11-06T23:43:07+00:00 ++++ crossbeam-epoch-0.8.0/Cargo.toml 2020-01-15T19:19:29.174136+00:00 +@@ -42,7 +42,7 @@ + [dev-dependencies.rand] + version = "0.6" + [build-dependencies.autocfg] +-version = "0.1.6" ++version = "1" + + [features] + alloc = ["crossbeam-utils/alloc"] diff --git a/rust-crossbeam-epoch.spec b/rust-crossbeam-epoch.spec index 35e5094..abad3cc 100644 --- a/rust-crossbeam-epoch.spec +++ b/rust-crossbeam-epoch.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Epoch-based garbage collection # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/crossbeam-epoch Source: %{crates_source} +# Initial patched metadata +# * Bump to autocfg 1, https://github.com/crossbeam-rs/crossbeam/pull/460 +Patch0: crossbeam-epoch-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +53,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} @@ -62,7 +65,7 @@ This package contains library source intended for building other packages which use "alloc" feature of "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+lazy_static-devel Summary: %{summary} @@ -74,7 +77,7 @@ This package contains library source intended for building other packages which use "lazy_static" feature of "%{crate}" crate. %files -n %{name}+lazy_static-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} @@ -86,7 +89,7 @@ This package contains library source intended for building other packages which use "nightly" feature of "%{crate}" crate. %files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+sanitize-devel Summary: %{summary} @@ -98,7 +101,7 @@ This package contains library source intended for building other packages which use "sanitize" feature of "%{crate}" crate. %files -n %{name}+sanitize-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -110,7 +113,7 @@ This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -131,6 +134,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Wed Jan 15 2020 Josh Stone - 0.8.0-2 +- Bump to autocfg 1 + * Thu Nov 28 11:24:48 CET 2019 Igor Gnatenko - 0.8.0-1 - Update to 0.8.0