fix spec for s390x

This commit is contained in:
Peter Vrabec 2006-02-22 10:38:56 +00:00
parent 94c16cb373
commit 48e82b4b7b

View File

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