Bump git2 to 0.9

This commit is contained in:
Josh Stone 2019-06-07 11:43:41 -07:00
parent 96878c2055
commit 871e68b9d7
2 changed files with 19 additions and 2 deletions

11
bat-fix-metadata.diff Normal file
View File

@ -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

View File

@ -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 <jistone@redhat.com> - 0.11.0-2
- Bump git2 to 0.9
* Sat Jun 01 2019 Josh Stone <jistone@redhat.com> - 0.11.0-1
- Update to 0.11.0