From a297cb19307d0ec5a21f7e383e12a62597225c7f Mon Sep 17 00:00:00 2001 From: Jakub Martisko Date: Tue, 3 Dec 2024 10:42:20 +0100 Subject: [PATCH] Add explicit requires to the bzip2 subpackage --- bzip2.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/bzip2.spec b/bzip2.spec index b56d6bb..2a979dd 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -3,7 +3,7 @@ Summary: File compression utility Name: bzip2 Version: 1.0.8 -Release: 21%{?dist} +Release: 22%{?dist} License: BSD-4-Clause URL: https://sourceware.org/bzip2 #Source0: http://www.bzip.org/%{version}/%{name}-%{version}.tar.gz @@ -23,6 +23,7 @@ Patch3: man_gzipdiff.patch BuildRequires: gcc BuildRequires: make BuildRequires: gnupg2 +Requires: bzip2-libs%{?_isa} = %{version}-%{release} %description Bzip2 is a freely available, patent-free, high quality data compressor. @@ -58,10 +59,10 @@ Static libraries for applications using the bzip2 compression format. %prep %{gpgverify} --keyring='%{SOURCE3}' --signature='%{SOURCE2}' --data='%{SOURCE0}' %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p2 +%patch 0 -p1 +%patch 1 -p1 +%patch 2 -p1 +%patch 3 -p2 cp -a %{SOURCE1} . sed -i "s|^libdir=|libdir=%{_libdir}|" bzip2.pc @@ -128,6 +129,11 @@ ln -s bzgrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzfgrep.1 %{_libdir}/pkgconfig/bzip2.pc %changelog +* Tue Dec 03 2024 Jakub Martisko - 1.0.8-22 +- Minor spec cleanup +- Add explicit requires for the bzip2 package + Resolves: RHEL-69797 + * Tue Oct 29 2024 Troy Dawson - 1.0.8-21 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018