diff --git a/bat-fix-metadata.diff b/bat-fix-metadata.diff new file mode 100644 index 0000000..8f63ace --- /dev/null +++ b/bat-fix-metadata.diff @@ -0,0 +1,11 @@ +--- bat-0.11.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ bat-0.11.0/Cargo.toml 2019-06-07T18:37:04.306758+00:00 +@@ -55,7 +55,7 @@ + default-features = false + + [dependencies.git2] +-version = "0.8" ++version = "0.9" + features = [] + default-features = false + diff --git a/rust-bat.spec b/rust-bat.spec index 064aceb..09b5c52 100644 --- a/rust-bat.spec +++ b/rust-bat.spec @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.11.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: cat(1) clone with wings # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/bat Source: %{crates_source} +# Initial patched metadata +# * Bump git2 to 0.9, https://github.com/sharkdp/bat/pull/580 +Patch0: bat-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -29,7 +32,7 @@ BuildRequires: (crate(content_inspector/default) >= 0.2.4 with crate(content_in BuildRequires: (crate(dirs/default) >= 1.0.0 with crate(dirs/default) < 2.0.0) BuildRequires: (crate(encoding/default) >= 0.2.0 with crate(encoding/default) < 0.3.0) BuildRequires: (crate(error-chain) >= 0.12.0 with crate(error-chain) < 0.13.0) -BuildRequires: (crate(git2) >= 0.8.0 with crate(git2) < 0.9.0) +BuildRequires: (crate(git2) >= 0.9.0 with crate(git2) < 0.10.0) BuildRequires: (crate(lazy_static/default) >= 1.3.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(shell-words/default) >= 0.1.0 with crate(shell-words/default) < 0.2.0) BuildRequires: (crate(syntect/dump-create) >= 3.2.0 with crate(syntect/dump-create) < 4.0.0) @@ -76,6 +79,9 @@ Summary: %{summary} %endif %changelog +* Fri Jun 07 2019 Josh Stone - 0.11.0-2 +- Bump git2 to 0.9 + * Sat Jun 01 2019 Josh Stone - 0.11.0-1 - Update to 0.11.0