rpms/eclipse/devel eclipse.spec,1.624,1.625

Dennis Gilmore ausil at fedoraproject.org
Mon Mar 30 21:37:42 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/eclipse/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21421

Modified Files:
	eclipse.spec 
Log Message:
base 32 bit sparc arches on ppc



Index: eclipse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse.spec,v
retrieving revision 1.624
retrieving revision 1.625
diff -u -r1.624 -r1.625
--- eclipse.spec	20 Mar 2009 18:39:20 -0000	1.624
+++ eclipse.spec	30 Mar 2009 21:37:12 -0000	1.625
@@ -29,7 +29,7 @@
 Summary:        An open, extensible IDE
 Name:           eclipse
 Version:        %{eclipse_majmin}.%{eclipse_micro}
-Release:        5%{?dist}
+Release:        6%{?dist}
 License:        EPL
 Group:          Text Editors/Integrated Development Environments (IDE)
 URL:            http://www.eclipse.org/
@@ -400,7 +400,7 @@
 %ifnarch %{ix86} x86_64
   cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
 %endif
-%ifarch ppc64 sparc sparcv9 sparc64 alpha
+%ifarch ppc64 sparc64 alpha
   for f in $(find -name \*s390x\*); do
     tofile=$(echo $f | sed "s/s390x/%{_arch}/")
     cp -rp $f $tofile
@@ -418,6 +418,25 @@
   done
   IFS=$OLDIFS
 %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
 IFS='
@@ -1276,7 +1295,7 @@
 %{_libdir}/%{name}/notice.html
 %{_libdir}/%{name}/epl-v10.html
 %{_libdir}/%{name}/links
-%ifnarch ppc
+%ifnarch ppc sparc sparcv9
 %{_libdir}/%{name}/about.html
 %endif
 %ifarch x86_64
@@ -1481,6 +1500,9 @@
 #%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
 
 %changelog
+* Mon Mar 30 2009 Dennis Gilmore <dennis at ausil.us> 1:3.4.2-6
+- base sparcv9 and sparc on ppc
+
 * Fri Mar 20 2009 Alexander Kurtakov <akurtako at redhat.com> 1:3.4.2-5
 - Disable XULRunner-specific patch.
 - Make pdebuild script to not generate p2 repo. 




More information about the fedora-extras-commits mailing list