From ae9e7c8269a307edbe73fab784c2e882f6e5e13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Fri, 14 Mar 2025 08:10:24 +0100 Subject: [PATCH] Add git build require, needed in order to apply binary patches Resolves: RHEL-67689 The binary patches were added in previous commit. --- createrepo_c.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/createrepo_c.spec b/createrepo_c.spec index 1a6296a..6310f84 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -25,7 +25,7 @@ Summary: Creates a common metadata repository Name: createrepo_c Version: 0.20.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://github.com/rpm-software-management/createrepo_c Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz @@ -70,6 +70,10 @@ Obsoletes: createrepo < 0.11.0 Provides: createrepo = %{version}-%{release} %endif +# We need git for the build because we are applying binary patches. +# Configured as -S git for the autosetup macro. +BuildRequires: git-core + %description C implementation of Createrepo. A set of utilities (createrepo_c, mergerepo_c, modifyrepo_c) @@ -180,6 +184,9 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info %changelog +* Fri Mar 14 2025 Ales Matej - 0.20.1-4 +- Add git build require, needed for binary patches (RHEL-67689) + * Mon Mar 10 2025 Ales Matej - 0.20.1-3 - Add zstd compression support (RHEL-67689)