From 08a95937f6390ed54f89416ac0c260b400196853 Mon Sep 17 00:00:00 2001 From: roland Date: Jun 08 2007 22:09:58 +0000 Subject: Tweak for build breakage on s390/ppc --- diff --git a/elfutils.spec b/elfutils.spec index a358ae7..6320eb2 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -141,7 +141,7 @@ for libelf. %setup -q %patch0 -p1 -ln %{SOURCE2} %{SOURCE3} tests +ln -f %{SOURCE2} %{SOURCE3} tests || cp -f %{SOURCE2} %{SOURCE3} tests %if %{compat} %patch1 -p1 @@ -153,6 +153,9 @@ find . \( -name configure -o -name config.h.in \) -print | xargs touch %patch2 -p1 +# XXX trivial patch for 0.128 +sed -i /ifndef/s/PACKAGE/PACKAGE_NAME/ libdwfl/libdwflP.h + %build # Remove -Wall from default flags. The makefiles enable enough warnings # themselves, and they use -Werror. Appending -Wall defeats the cases where @@ -259,7 +262,7 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/libelf.a %changelog -* Fri Jun 8 2007 Roland McGrath - 0.128-1 +* Fri Jun 8 2007 Roland McGrath - 0.128-2 - Update to 0.128 - new program: unstrip - elfcmp: new option --hash-inexact