From 92272f9c9eeac047b26cc4f88445d30bfaeb59da Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 15 Jan 2020 12:12:12 -0800 Subject: [PATCH] Bump to autocfg 1 --- hashbrown-fix-metadata.diff | 11 +++++++++++ rust-hashbrown.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 hashbrown-fix-metadata.diff diff --git a/hashbrown-fix-metadata.diff b/hashbrown-fix-metadata.diff new file mode 100644 index 0000000..fb66604 --- /dev/null +++ b/hashbrown-fix-metadata.diff @@ -0,0 +1,11 @@ +--- hashbrown-0.6.3/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ hashbrown-0.6.3/Cargo.toml 2020-01-15T20:08:04.799761+00:00 +@@ -70,7 +70,7 @@ + [dev-dependencies.serde_test] + version = "1.0" + [build-dependencies.autocfg] +-version = "0.1.4" ++version = "1" + + [features] + ahash-compile-time-rng = ["ahash/compile-time-rng"] diff --git a/rust-hashbrown.spec b/rust-hashbrown.spec index 4ca1eb0..5638cda 100644 --- a/rust-hashbrown.spec +++ b/rust-hashbrown.spec @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.6.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rust port of Google's SwissTable hash map # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/hashbrown Source: %{crates_source} +# Initial patched metadata +# * Bump to autocfg 1, https://github.com/rust-lang/hashbrown/pull/138 +Patch0: hashbrown-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -215,6 +218,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Wed Jan 15 2020 Josh Stone - 0.6.3-2 +- Bump to autocfg 1 + * Fri Dec 20 19:23:00 CET 2019 Igor Gnatenko - 0.6.3-1 - Update to 0.6.3