From e33d9754187e8864cceb182e7d49f8a90eeaf87a Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Tue, 10 Jul 2012 20:14:01 +0200 Subject: [PATCH] always include no-unstrip patch, but apply it only on ppc*, s390* --- elfutils.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elfutils.spec b/elfutils.spec index af2d7ce..0314ebe 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -46,9 +46,7 @@ Source: %{?source_url}%{name}-%{version}.tar.bz2 Patch1: %{?source_url}elfutils-robustify.patch Patch2: %{?source_url}elfutils-portability.patch Patch3: elfutils-0.154-binutils-pr-ld-13621.patch -%ifarch ppc %{power64} s390 s390x Patch4: elfutils-0.154-nounstripcheck-835877.patch -%endif %if !%{compat} Release: %{baserelease}%{?dist} @@ -214,7 +212,9 @@ sed -i.scanf-m -e 's/%m/%a/g' src/addr2line.c tests/line2addr.c %endif %patch3 -p1 -b .binutils-pr-ld-13621 +%ifarch ppc %{power64} s390 s390x %patch4 -p1 -b .nounstripcheck-835877 +%endif find . -name \*.sh ! -perm -0100 -print | xargs chmod +x @@ -332,7 +332,7 @@ rm -rf ${RPM_BUILD_ROOT} %changelog * Mon Jul 02 2012 Karsten Hopp 0.154-1.1 -- disable unstrip-n check for now (835877) +- disable unstrip-n check for now on ppc* (835877) * Fri Jun 22 2012 Mark Wielaard - 0.154-1 - Update to 0.154