From 78dcea13a13c5fd69edbf325bfaedb1cd817f64d Mon Sep 17 00:00:00 2001 From: Jakub Martisko Date: Wed, 21 Jul 2021 16:43:21 +0200 Subject: [PATCH] Fix FTBFS caused by _ranlib macro being removed --- bzip2.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bzip2.spec b/bzip2.spec index 9a6d6da..0409130 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -3,7 +3,7 @@ Summary: File compression utility Name: bzip2 Version: 1.0.8 -Release: 7%{?dist} +Release: 8%{?dist} License: BSD URL: http://www.bzip.org/ #Source0: http://www.bzip.org/%{version}/%{name}-%{version}.tar.gz @@ -61,13 +61,13 @@ sed -i "s|^libdir=|libdir=%{_libdir}|" bzip2.pc %build -%make_build -f Makefile-libbz2_so CC="%{__cc}" AR="%{__ar}" RANLIB="%{__ranlib}" \ +%make_build -f Makefile-libbz2_so CC="%{__cc}" AR="%{__ar}" RANLIB="ranlib" \ CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -fpic -fPIC" \ LDFLAGS="%{__global_ldflags}" \ all rm -f *.o -%make_build CC="%{__cc}" AR="%{__ar}" RANLIB="%{__ranlib}" \ +%make_build CC="%{__cc}" AR="%{__ar}" RANLIB="ranlib" \ CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" \ LDFLAGS="%{__global_ldflags}" \ all @@ -121,6 +121,9 @@ ln -s bzgrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzfgrep.1 %{_libdir}/pkgconfig/bzip2.pc %changelog +* Wed Jul 21 2021 Jakub Martisko - 1.0.8-8 +- Fix FTBFS due to _ranlib macro being removed + * Fri Feb 12 2021 Michal Schorm - 1.0.8-7 - Remove the ancient ppc64 hack