[Erp5-report] r36251 kazuhiko - /erp5/trunk/utils/rpmgen/templates/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 10 20:47:42 CEST 2010


Author: kazuhiko
Date: Thu Jun 10 20:47:39 2010
New Revision: 36251

URL: http://svn.erp5.org?rev=36251&view=rev
Log:
find -delete is enough for files.

Modified:
    erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-fedora12.spec.in
    erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-mandriva2010.spec.in
    erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-opensuse11.2.spec.in

Modified: erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-fedora12.spec.in
URL: http://svn.erp5.org/erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-fedora12.spec.in?rev=36251&r1=36250&r2=36251&view=diff
==============================================================================
--- erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-fedora12.spec.in [utf8] (original)
+++ erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-fedora12.spec.in [utf8] Thu Jun 10 20:47:39 2010
@@ -33,7 +33,7 @@ python -S bootstrap/bootstrap.py
 bin/buildout -vv
 # cleanup .svn and .pyc files
 find %{installdir} -depth -name .svn -exec rm -rf {} \;
-find %{installdir} -depth -name '*.pyc' -exec rm -rf {} \;
+find %{installdir} -name '*.pyc' -delete
 # tmp-storage created by openoffice build
 %{__rm} -rf tmp-storage
 

Modified: erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-mandriva2010.spec.in
URL: http://svn.erp5.org/erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-mandriva2010.spec.in?rev=36251&r1=36250&r2=36251&view=diff
==============================================================================
--- erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-mandriva2010.spec.in [utf8] (original)
+++ erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-mandriva2010.spec.in [utf8] Thu Jun 10 20:47:39 2010
@@ -34,7 +34,7 @@ python -S bootstrap/bootstrap.py
 bin/buildout -vv
 # cleanup .svn and .pyc files
 find %{installdir} -depth -name .svn -exec rm -rf {} \;
-find %{installdir} -depth -name '*.pyc' -exec rm -rf {} \;
+find %{installdir} -name '*.pyc' -delete
 # tmp-storage created by openoffice build
 %{__rm} -rf tmp-storage
 

Modified: erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-opensuse11.2.spec.in
URL: http://svn.erp5.org/erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-opensuse11.2.spec.in?rev=36251&r1=36250&r2=36251&view=diff
==============================================================================
--- erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-opensuse11.2.spec.in [utf8] (original)
+++ erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-opensuse11.2.spec.in [utf8] Thu Jun 10 20:47:39 2010
@@ -33,7 +33,7 @@ python -S bootstrap/bootstrap.py
 bin/buildout -vv
 # cleanup .svn and .pyc files
 find %{installdir} -depth -name .svn -exec rm -rf {} \;
-find %{installdir} -depth -name '*.pyc' -exec rm -rf {} \;
+find %{installdir} -name '*.pyc' -delete
 # tmp-storage created by openoffice build
 %{__rm} -rf tmp-storage
 




More information about the Erp5-report mailing list