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 ..