More non-upstream arch fixes.
This commit is contained in:
parent
5dde140c76
commit
2232d2cdf3
@ -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" \
|
sed -i "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" \
|
||||||
features/org.eclipse.equinox.executable/target.build.xml
|
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.
|
# the s390x strings with ppc64, etc.
|
||||||
%ifarch ppc64 sparc sparcv9 sparc64 alpha
|
%ifarch ppc64 sparc sparcv9 sparc64 alpha
|
||||||
cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
|
cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
|
||||||
for f in $(find -name \*s390x\*); do
|
for f in $(find -name \*s390x\*); do
|
||||||
tofile=$(echo $f | sed "s/s390x/%{_arch}/")
|
tofile=$(echo $f | sed "s/s390x/%{_arch}/")
|
||||||
for g in $(find -type f $f); do
|
cp -rp $f $tofile
|
||||||
sed -in "s/s390x/%{_arch}/g" $g
|
for g in $(find $tofile -type f); do
|
||||||
|
sed -i "s/s390x/%{_arch}/g" $g
|
||||||
done
|
done
|
||||||
mv $f $tofile
|
|
||||||
done
|
done
|
||||||
OLDIFS=$IFS
|
OLDIFS=$IFS
|
||||||
IFS='
|
IFS='
|
||||||
|
Loading…
Reference in New Issue
Block a user