From 31bda2e23635ff140b85383401c325af4ecb9749 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Thu, 1 Feb 2018 23:14:35 +0200 Subject: [PATCH] Use predictable builddir --- zziplib.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zziplib.spec b/zziplib.spec index 49f773f..cac827c 100644 --- a/zziplib.spec +++ b/zziplib.spec @@ -66,11 +66,12 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure \ --disable-static \ --enable-sdl \ - --enable-frame-pointer + --enable-frame-pointer \ + --enable-builddir=_builddir # 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 -cd %{_host} +cd _builddir %apply_patch %{PATCH1} -p2 cd ..