Add explicit requires to the bzip2 subpackage

This commit is contained in:
Jakub Martisko 2024-12-03 10:42:20 +01:00
parent ca508445db
commit a297cb1930

View File

@ -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 <jamartis@redhat.com> - 1.0.8-22
- Minor spec cleanup
- Add explicit requires for the bzip2 package
Resolves: RHEL-69797
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.8-21
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018