SPECS: openoffice.org.spec - subshell optimize

glen glen at pld-linux.org
Thu Jan 4 10:06:34 CET 2007


Author: glen                         Date: Thu Jan  4 09:06:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- subshell optimize

---- Files affected:
SPECS:
   openoffice.org.spec (1.648 -> 1.649) 

---- Diffs:

================================================================
Index: SPECS/openoffice.org.spec
diff -u SPECS/openoffice.org.spec:1.648 SPECS/openoffice.org.spec:1.649
--- SPECS/openoffice.org.spec:1.648	Thu Jan  4 10:05:12 2007
+++ SPECS/openoffice.org.spec	Thu Jan  4 10:06:29 2007
@@ -1827,7 +1827,8 @@
 echo "[ PLDOnly ]" >> patches/src680/apply
 # patches applied by ooo (extension .diff is required)
 for P in %{PATCH102} %{PATCH104} %{PATCH105} %{PATCH106}; do
-	PATCHNAME=`basename $P | sed "s/%{name}-//; s/.patch$/.diff/"`
+	PATCHNAME=PLD-${P##*/%{name}-}
+	PATCHNAME=${PATCHNAME%.patch}.diff
 	install $P patches/src680/$PATCHNAME
 	echo $PATCHNAME >> patches/src680/apply
 done
@@ -2950,6 +2951,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.649  2007/01/04 09:06:29  glen
+- subshell optimize
+
 Revision 1.648  2007/01/04 09:05:12  glen
 - apply stl-amd64.patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openoffice.org.spec?r1=1.648&r2=1.649&f=u



More information about the pld-cvs-commit mailing list