rpms/eclipse/devel eclipse.spec,1.562,1.563

Andrew Overholt (overholt) fedora-extras-commits at redhat.com
Thu Jul 24 20:35:53 UTC 2008


Author: overholt

Update of /cvs/pkgs/rpms/eclipse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17406

Modified Files:
	eclipse.spec 
Log Message:
More non-upstream arch fixes.


Index: eclipse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse.spec,v
retrieving revision 1.562
retrieving revision 1.563
diff -u -r1.562 -r1.563
--- eclipse.spec	24 Jul 2008 20:07:17 -0000	1.562
+++ eclipse.spec	24 Jul 2008 20:35:04 -0000	1.563
@@ -418,16 +418,16 @@
 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='




More information about the fedora-extras-commits mailing list