From 823dd568e4c462db0ecd239bea9c8182c3f4010d Mon Sep 17 00:00:00 2001 From: Jakub Martisko Date: Sat, 27 Jan 2024 10:21:35 +0100 Subject: [PATCH] Fix: FTBFS due to wrong python version being used for doc generation Resolves: RHEL-22880 --- zziplib.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/zziplib.spec b/zziplib.spec index 9179199..10c3415 100644 --- a/zziplib.spec +++ b/zziplib.spec @@ -1,7 +1,7 @@ Summary: Lightweight library to easily extract data from zip files Name: zziplib Version: 0.13.68 -Release: 10%{?dist} +Release: 11%{?dist} License: LGPLv2+ or MPLv1.1 Group: Applications/Archiving URL: http://zziplib.sourceforge.net/ @@ -103,7 +103,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" --disable-static \ --enable-sdl \ --enable-frame-pointer \ - --enable-builddir=_builddir + --enable-builddir=_builddir \ + ac_cv_path_PYTHON=%__python3 + # Remove rpath on 64bit archs sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' */libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' */libtool @@ -145,6 +147,10 @@ make install DESTDIR=%{buildroot} %{_mandir}/man3/* %changelog +* Sat Jan 27 2024 Jakub Martisko - 0.13.68-11 +- Use %__python3 macro during the config phase (used for doc generation) + Resolves: RHEL-22880 + * Wed Jan 24 2024 Jakub Martisko - 0.13.68-10 - Fix CVE-2020-18770 Resolves: RHEL-14966