base 32 bit sparc arches on ppc
This commit is contained in:
parent
6f3d1c8481
commit
0e1249a258
28
eclipse.spec
28
eclipse.spec
|
@ -29,7 +29,7 @@ Epoch: 1
|
||||||
Summary: An open, extensible IDE
|
Summary: An open, extensible IDE
|
||||||
Name: eclipse
|
Name: eclipse
|
||||||
Version: %{eclipse_majmin}.%{eclipse_micro}
|
Version: %{eclipse_majmin}.%{eclipse_micro}
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: EPL
|
License: EPL
|
||||||
Group: Text Editors/Integrated Development Environments (IDE)
|
Group: Text Editors/Integrated Development Environments (IDE)
|
||||||
URL: http://www.eclipse.org/
|
URL: http://www.eclipse.org/
|
||||||
|
@ -400,7 +400,7 @@ sed -i "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" \
|
||||||
%ifnarch %{ix86} x86_64
|
%ifnarch %{ix86} x86_64
|
||||||
cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
|
cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
|
||||||
%endif
|
%endif
|
||||||
%ifarch ppc64 sparc sparcv9 sparc64 alpha
|
%ifarch ppc64 sparc64 alpha
|
||||||
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}/")
|
||||||
cp -rp $f $tofile
|
cp -rp $f $tofile
|
||||||
|
@ -418,6 +418,25 @@ IFS='
|
||||||
done
|
done
|
||||||
IFS=$OLDIFS
|
IFS=$OLDIFS
|
||||||
%endif
|
%endif
|
||||||
|
#base 32 bit sparc on ppc
|
||||||
|
%ifarch sparc sparcv9
|
||||||
|
for f in $(find -name \*ppc\*); do
|
||||||
|
tofile=$(echo $f | sed "s/ppc/%{_arch}/")
|
||||||
|
cp -rp $f $tofile
|
||||||
|
for g in $(find $tofile -type f); do
|
||||||
|
sed -i "s/ppc/%{_arch}/g" $g
|
||||||
|
done
|
||||||
|
done
|
||||||
|
OLDIFS=$IFS
|
||||||
|
IFS='
|
||||||
|
'
|
||||||
|
for f in $(find -type f ! -name \*.java -a ! -name feature.xml -a ! -name \*.gif \
|
||||||
|
-a ! -name \*.png -a ! -name \*.htm* -a ! -name \*.jar -a ! -name \
|
||||||
|
\*.exe -a ! -name \*.pm -a ! -name \*.jpg -a ! -name \*win32\* | grep -v win32); do
|
||||||
|
sed -i -e "s/ppc/%{_arch}/g" $f
|
||||||
|
done
|
||||||
|
IFS=$OLDIFS
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch ppc64 sparc sparcv9 sparc64 alpha ia64
|
%ifarch ppc64 sparc sparcv9 sparc64 alpha ia64
|
||||||
IFS='
|
IFS='
|
||||||
|
@ -1276,7 +1295,7 @@ fi
|
||||||
%{_libdir}/%{name}/notice.html
|
%{_libdir}/%{name}/notice.html
|
||||||
%{_libdir}/%{name}/epl-v10.html
|
%{_libdir}/%{name}/epl-v10.html
|
||||||
%{_libdir}/%{name}/links
|
%{_libdir}/%{name}/links
|
||||||
%ifnarch ppc
|
%ifnarch ppc sparc sparcv9
|
||||||
%{_libdir}/%{name}/about.html
|
%{_libdir}/%{name}/about.html
|
||||||
%endif
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
|
@ -1481,6 +1500,9 @@ fi
|
||||||
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
|
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 30 2009 Dennis Gilmore <dennis@ausil.us> 1:3.4.2-6
|
||||||
|
- base sparcv9 and sparc on ppc
|
||||||
|
|
||||||
* Fri Mar 20 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-5
|
* Fri Mar 20 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-5
|
||||||
- Disable XULRunner-specific patch.
|
- Disable XULRunner-specific patch.
|
||||||
- Make pdebuild script to not generate p2 repo.
|
- Make pdebuild script to not generate p2 repo.
|
||||||
|
|
Loading…
Reference in New Issue