From 0427bf2e051b1dab60be29ba93cb89d41d593255 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 14 Mar 2019 23:22:55 +0100 Subject: [PATCH] Update siphasher to 0.3 Signed-off-by: Igor Gnatenko --- phf_shared-fix-metadata.diff | 11 +++++++++++ rust-phf_shared.spec | 10 ++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 phf_shared-fix-metadata.diff diff --git a/phf_shared-fix-metadata.diff b/phf_shared-fix-metadata.diff new file mode 100644 index 0000000..500931c --- /dev/null +++ b/phf_shared-fix-metadata.diff @@ -0,0 +1,11 @@ +--- phf_shared-0.7.24/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ phf_shared-0.7.24/Cargo.toml 2019-03-14T23:22:21.589832+01:00 +@@ -23,7 +23,7 @@ + path = "src/lib.rs" + test = false + [dependencies.siphasher] +-version = "0.2" ++version = "0.3" + + [dependencies.unicase] + version = "1.4" diff --git a/rust-phf_shared.spec b/rust-phf_shared.spec index c31fabd..2a315b0 100644 --- a/rust-phf_shared.spec +++ b/rust-phf_shared.spec @@ -7,18 +7,21 @@ Name: rust-%{crate} Version: 0.7.24 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Support code shared by PHF libraries # https://github.com/sfackler/rust-phf/pull/118 License: MIT URL: https://crates.io/crates/phf_shared Source: %{crates_source} +# Initial patched metadata +# * Update siphasher to 0.3, https://github.com/sfackler/rust-phf/pull/144 +Patch0: phf_shared-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(siphasher/default) >= 0.2.0 with crate(siphasher/default) < 0.3.0) +BuildRequires: (crate(siphasher/default) >= 0.3.0 with crate(siphasher/default) < 0.4.0) %global _description \ Support code shared by PHF libraries. @@ -89,6 +92,9 @@ which use "unicase" feature of "%{crate}" crate. %endif %changelog +* Thu Mar 14 2019 Igor Gnatenko - 0.7.24-5 +- Update siphasher to 0.3 + * Thu Mar 14 2019 Igor Gnatenko - 0.7.24-4 - Do not pull optional dependencies