From 44fdd4756acb53d5930f3f0664a00077b90a4cc2 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 3 Mar 2020 15:09:00 -0800 Subject: [PATCH] Bump git2 to 0.12 --- rust-tokei.spec | 8 +++++++- tokei-fix-metadata.diff | 11 +++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tokei-fix-metadata.diff diff --git a/rust-tokei.spec b/rust-tokei.spec index d1f1a8d..3ac428b 100644 --- a/rust-tokei.spec +++ b/rust-tokei.spec @@ -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 - 10.1.2-2 +- Bump git2 to 0.12 + * Thu Feb 13 2020 Josh Stone - 10.1.2-1 - Update to 10.1.2 diff --git a/tokei-fix-metadata.diff b/tokei-fix-metadata.diff new file mode 100644 index 0000000..fb1079e --- /dev/null +++ b/tokei-fix-metadata.diff @@ -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 +