Add git build require, needed in order to apply binary patches

Resolves: RHEL-67689

The binary patches were added in previous commit.
This commit is contained in:
Aleš Matěj 2025-03-14 08:10:24 +01:00
parent cc4d2c3ef6
commit ae9e7c8269

View File

@ -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 <amatej@redhat.com> - 0.20.1-4
- Add git build require, needed for binary patches (RHEL-67689)
* Mon Mar 10 2025 Ales Matej <amatej@redhat.com> - 0.20.1-3
- Add zstd compression support (RHEL-67689)