public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pretty-git-prompt] epel10: Rebuild for CVE-2024-24575 and CVE-2024-24577 in libgit2
@ 2026-09-17 7:50 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-17 7:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-pretty-git-prompt
Branch : epel10
Commit : b14bdfad528b2902d11fdfb911e31a7213528d25
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-02-13T22:03:53+01:00
Stats : +16/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-pretty-git-prompt/c/b14bdfad528b2902d11fdfb911e31a7213528d25?branch=epel10
Log:
Rebuild for CVE-2024-24575 and CVE-2024-24577 in libgit2
---
diff --git a/pretty-git-prompt-fix-metadata.diff b/pretty-git-prompt-fix-metadata.diff
index 05913a2..e78ff2d 100644
--- a/pretty-git-prompt-fix-metadata.diff
+++ b/pretty-git-prompt-fix-metadata.diff
@@ -1,5 +1,5 @@
--- pretty-git-prompt-0.2.1/Cargo.toml 2020-04-06T08:36:01+00:00
-+++ pretty-git-prompt-0.2.1/Cargo.toml 2023-05-10T17:03:42.201125+00:00
++++ pretty-git-prompt-0.2.1/Cargo.toml 2024-02-13T20:25:46.512406+00:00
@@ -17,7 +17,7 @@
description = "Your current git repository information inside a beautiful shell prompt."
homepage = "https://github.com/TomasTomecek/pretty-git-prompt"
@@ -9,3 +9,12 @@
repository = "https://github.com/TomasTomecek/pretty-git-prompt"
[[bin]]
+@@ -29,7 +29,7 @@
+ default-features = false
+
+ [dependencies.git2]
+-version = "0.13"
++version = "0.18"
+ features = []
+ default-features = false
+
diff --git a/rust-pretty-git-prompt.spec b/rust-pretty-git-prompt.spec
index 91f2529..7abd48f 100644
--- a/rust-pretty-git-prompt.spec
+++ b/rust-pretty-git-prompt.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
# * tests can only be run inside the upstream git repository:
# https://github.com/tomastomecek/pretty-git-prompt/issues/35
%bcond_with check
@@ -14,11 +14,12 @@ License: MIT
URL: https://crates.io/crates/pretty-git-prompt
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
+# * bump git2 dependency from 0.13 to 0.18
# * set "license" instead of "license-file" in crate metadata;
# "license-file" is intended to be used for non-standard licenses only
Patch: pretty-git-prompt-fix-metadata.diff
-BuildRequires: rust-packaging >= 23
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Your current git repository information inside a beautiful shell prompt.}
@@ -27,8 +28,8 @@ Your current git repository information inside a beautiful shell prompt.}
%package -n %{crate}
Summary: %{summary}
+# (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT
# MIT
-# MIT AND GPL-2.0-only WITH GCC-exception-2.0 AND BSD-3-Clause
# MIT OR Apache-2.0
# MIT OR Apache-2.0 OR Zlib
# Zlib OR Apache-2.0 OR MIT
@@ -44,7 +45,7 @@ License: MIT AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND
%{_bindir}/pretty-git-prompt
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@@ -52,7 +53,7 @@ License: MIT AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND
%build
%cargo_build
-%cargo_license_summary
+%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-17 7:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 7:50 [rpms/rust-pretty-git-prompt] epel10: Rebuild for CVE-2024-24575 and CVE-2024-24577 in libgit2 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox