From 809e1b9fbb3155950e3a28f9d9f7563449fd1086 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Jun 07 2019 19:15:59 +0000 Subject: Bump git2 to 0.9 --- diff --git a/rust-silver.spec b/rust-silver.spec index 933bc0d..d62f58c 100644 --- a/rust-silver.spec +++ b/rust-silver.spec @@ -5,13 +5,16 @@ Name: rust-%{crate} Version: 1.0.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cross-shell customizable powerline-like prompt with icons # Upstream license specification: Unlicense License: Unlicense URL: https://crates.io/crates/silver Source: %{crates_source} +# Initial patched metadata +# * Bump git2 to 0.9, https://github.com/reujab/silver/pull/10 +Patch0: silver-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -20,7 +23,7 @@ BuildRequires: (crate(chrono/default) >= 0.4.4 with crate(chrono/default) < 0.5 BuildRequires: (crate(clap/default) >= 2.32.0 with crate(clap/default) < 3.0.0) BuildRequires: (crate(clap/yaml) >= 2.32.0 with crate(clap/yaml) < 3.0.0) BuildRequires: (crate(dirs/default) >= 1.0.1 with crate(dirs/default) < 2.0.0) -BuildRequires: (crate(git2/default) >= 0.8.0 with crate(git2/default) < 0.9.0) +BuildRequires: (crate(git2/default) >= 0.9.0 with crate(git2/default) < 0.10.0) BuildRequires: (crate(hostname/default) >= 0.1.5 with crate(hostname/default) < 0.2.0) BuildRequires: (crate(humantime/default) >= 1.1.1 with crate(humantime/default) < 2.0.0) BuildRequires: (crate(lazy_static/default) >= 1.0.1 with crate(lazy_static/default) < 2.0.0) @@ -61,6 +64,9 @@ Summary: %{summary} %endif %changelog +* Fri Jun 07 2019 Josh Stone - 1.0.7-2 +- Bump git2 to 0.9 + * Thu May 09 2019 Josh Stone - 1.0.7-1 - Update to 1.0.7 diff --git a/silver-fix-metadata.diff b/silver-fix-metadata.diff new file mode 100644 index 0000000..80186a2 --- /dev/null +++ b/silver-fix-metadata.diff @@ -0,0 +1,11 @@ +--- silver-1.0.7/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ silver-1.0.7/Cargo.toml 2019-06-07T19:13:13.453777+00:00 +@@ -31,7 +31,7 @@ + version = "1.0.1" + + [dependencies.git2] +-version = "0.8.0" ++version = "0.9.0" + + [dependencies.hostname] + version = "0.1.5"