From f18ba1f00b0f973ef6f74717c1b96a4de5914002 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 29 Oct 2024 19:11:12 +0100 Subject: [PATCH] Bump git2 dependency from 0.18 to 0.19 --- bat-fix-metadata-auto.diff | 2 +- bat-fix-metadata.diff | 11 ++++++++++- rust-bat.spec | 1 + rust2rpm.toml | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/bat-fix-metadata-auto.diff b/bat-fix-metadata-auto.diff index 4aab2c3..722b378 100644 --- a/bat-fix-metadata-auto.diff +++ b/bat-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- bat-0.24.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ bat-0.24.0/Cargo.toml 2024-10-23T22:00:42.934747+00:00 ++++ bat-0.24.0/Cargo.toml 2024-10-29T18:01:07.310721+00:00 @@ -199,13 +199,8 @@ regex-fancy = ["syntect/regex-fancy"] regex-onig = ["syntect/regex-onig"] diff --git a/bat-fix-metadata.diff b/bat-fix-metadata.diff index de7950a..79be7fa 100644 --- a/bat-fix-metadata.diff +++ b/bat-fix-metadata.diff @@ -1,5 +1,5 @@ --- bat-0.24.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ bat-0.24.0/Cargo.toml 2024-10-23T22:02:03.316147+00:00 ++++ bat-0.24.0/Cargo.toml 2024-10-29T18:02:15.768076+00:00 @@ -24,7 +24,7 @@ homepage = "https://github.com/sharkdp/bat" readme = "README.md" @@ -9,6 +9,15 @@ repository = "https://github.com/sharkdp/bat" [profile.release] +@@ -73,7 +73,7 @@ + version = "1.0" + + [dependencies.git2] +-version = "0.18" ++version = "0.19" + optional = true + default-features = false + @@ -85,25 +85,16 @@ optional = true diff --git a/rust-bat.spec b/rust-bat.spec index 8882d81..6332d57 100644 --- a/rust-bat.spec +++ b/rust-bat.spec @@ -18,6 +18,7 @@ Patch: bat-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * port from path_abs to path-absolutize: # https://github.com/sharkdp/bat/pull/1025 +# * bump git2 from 0.18 to 0.19 # * bump nix from 0.26 to 0.29 # * bump nu-ansi-term from 0.49.0 to 0.50.0 # * adapt license tag to reflect bundled content diff --git a/rust2rpm.toml b/rust2rpm.toml index c653dea..c054a6e 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,6 +1,7 @@ [package] cargo-toml-patch-comments = [ "port from path_abs to path-absolutize: https://github.com/sharkdp/bat/pull/1025", + "bump git2 from 0.18 to 0.19", "bump nix from 0.26 to 0.29", "bump nu-ansi-term from 0.49.0 to 0.50.0", "adapt license tag to reflect bundled content",