[Erp5-report] r33590 lucas - /erp5/trunk/utils/rpmgen/templates/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Mar 10 17:34:31 CET 2010
Author: lucas
Date: Wed Mar 10 17:34:31 2010
New Revision: 33590
URL: http://svn.erp5.org?rev=33590&view=rev
Log:
cleanup .svn folders and .pyc files.
Modified:
erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-mandriva2010.spec.in
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=33590&r1=33589&r2=33590&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] Wed Mar 10 17:34:31 2010
@@ -32,8 +32,9 @@
cd %{installdir}
python bootstrap/bootstrap.py
bin/buildout
-# cleanup .svn files
-find %{buildroot} -name .svn -print0 | xargs -0 %{__rm} -rf
+# cleanup .svn and .pyc files
+find %{installdir} -name .svn -print0 | xargs -0 %{__rm} -rf
+find %{installdir} -name '*.pyc' -print0 | xargs -0 %{__rm} -rf
# tmp-storage created by openoffice build
%{__rm} -rf tmp-storage
More information about the Erp5-report
mailing list