Bump git2 to 0.12

This commit is contained in:
Josh Stone 2020-03-03 15:09:00 -08:00
parent 64accea340
commit 44fdd4756a
2 changed files with 18 additions and 1 deletions

View File

@ -5,13 +5,16 @@
Name: rust-%{crate}
Version: 10.1.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Utility that allows you to count code, quickly
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/tokei
Source: %{crates_source}
# Initial patched metadata
# * Bump git2 to 0.12, https://github.com/XAMPPRocky/tokei/pull/454
Patch0: tokei-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@ -176,6 +179,9 @@ which use "yaml" feature of "%{crate}" crate.
%endif
%changelog
* Tue Mar 03 2020 Josh Stone <jistone@redhat.com> - 10.1.2-2
- Bump git2 to 0.12
* Thu Feb 13 2020 Josh Stone <jistone@redhat.com> - 10.1.2-1
- Update to 10.1.2

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

@ -0,0 +1,11 @@
--- tokei-10.1.2/Cargo.toml 2020-02-13T17:02:09+00:00
+++ tokei-10.1.2/Cargo.toml 2020-03-03T22:41:15.081392+00:00
@@ -83,7 +83,7 @@
[dependencies.toml]
version = "0.5.6"
[dev-dependencies.git2]
-version = "0.11.0"
+version = "0.12.0"
features = []
default-features = false