From ed65f63de1ae6b3b795b42e8d54a2f7ff8f263e3 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Sat, 4 Sep 2021 17:56:15 +0800 Subject: [PATCH] remove rpath --- zziplib.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/zziplib.spec b/zziplib.spec index 8360022..662fd15 100644 --- a/zziplib.spec +++ b/zziplib.spec @@ -1,10 +1,10 @@ %define disable_rpath \ -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 +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 Name: zziplib Version: 0.13.71 -Release: 2 +Release: 3 Summary: Lightweight library for zip compression License: LGPLv2+ or MPLv1.1 URL: http://zziplib.sourceforge.net @@ -61,6 +61,8 @@ sed -i -e 's:docs ::g' Makefile.am %build %configure --disable-static --enable-sdl --enable-frame-pointer --enable-builddir=_builddir +# remove rpath +%disable_rpath %make_build %install @@ -89,6 +91,9 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_mandir}/man3/* %changelog +* Sat Sep 04 2021 shixuantong - 0.13.71-3 +- remove rpath + * Fri Jun 25 2021 shixuantong - 0.13.71-2 - fix CVE-2020-18442