More non-upstream arch fixes.

This commit is contained in:
Andrew Overholt 2008-07-24 20:35:04 +00:00
parent 5dde140c76
commit 2232d2cdf3

View File

@ -418,16 +418,16 @@ sed --in-place "s/$swt_frag_ver_s390x/$swt_frag_ver/g" plugins/org.eclipse.swt.g
sed -i "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" \
features/org.eclipse.equinox.executable/target.build.xml
# Move all of the s390x directories and files to ppc64 or sparc{,64} or alpha dirs and replace
# Copy all of the s390x directories and files to ppc64 or sparc{,64} or alpha dirs and replace
# the s390x strings with ppc64, etc.
%ifarch ppc64 sparc sparcv9 sparc64 alpha
cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
for f in $(find -name \*s390x\*); do
tofile=$(echo $f | sed "s/s390x/%{_arch}/")
for g in $(find -type f $f); do
sed -in "s/s390x/%{_arch}/g" $g
cp -rp $f $tofile
for g in $(find $tofile -type f); do
sed -i "s/s390x/%{_arch}/g" $g
done
mv $f $tofile
done
OLDIFS=$IFS
IFS='