From 48e82b4b7bbdb2cf9f6c7b64016ab0b1219aae1a Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Wed, 22 Feb 2006 10:38:56 +0000 Subject: [PATCH] fix spec for s390x --- star.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/star.spec b/star.spec index c8caaf5..bf43a50 100644 --- a/star.spec +++ b/star.spec @@ -26,6 +26,13 @@ and can restore individual files from the archive. Star supports ACL. %patch2 -p1 -b .selinux %endif +for PLAT in x86_64 ppc64 s390 s390x; do + for AFILE in gcc cc; do + [ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \ + && ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul + done +done + %build export COPTOPT="$RPM_OPT_FLAGS" export MAKEPROG=gmake