From 2823ec053fb42c3b01272bbb95d0a61cb255ad73 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Jan 15 2020 19:22:06 +0000 Subject: Bump to autocfg 1 --- diff --git a/crossbeam-utils-fix-metadata.diff b/crossbeam-utils-fix-metadata.diff new file mode 100644 index 0000000..509d10c --- /dev/null +++ b/crossbeam-utils-fix-metadata.diff @@ -0,0 +1,11 @@ +--- crossbeam-utils-0.7.0/Cargo.toml 2019-11-06T23:41:33+00:00 ++++ crossbeam-utils-0.7.0/Cargo.toml 2020-01-15T19:17:17.540956+00:00 +@@ -31,7 +31,7 @@ + [dev-dependencies.rand] + version = "0.6" + [build-dependencies.autocfg] +-version = "0.1.6" ++version = "1" + + [features] + alloc = [] diff --git a/rust-crossbeam-utils.spec b/rust-crossbeam-utils.spec index a70b60d..8f6578c 100644 --- a/rust-crossbeam-utils.spec +++ b/rust-crossbeam-utils.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.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utilities for concurrent programming # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/crossbeam-utils Source: %{crates_source} +# Initial patched metadata +# * Bump to autocfg 1, https://github.com/crossbeam-rs/crossbeam/pull/460 +Patch0: crossbeam-utils-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}+std-devel Summary: %{summary} @@ -98,7 +101,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 @@ -119,6 +122,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Wed Jan 15 2020 Josh Stone - 0.7.0-2 +- Bump to autocfg 1 + * Tue Nov 19 11:29:47 CET 2019 Igor Gnatenko - 0.7.0-1 - Update to 0.7.0