[Erp5-report] r36253 lucas - /erp5/trunk/utils/rpmgen/templates/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 10 21:54:37 CEST 2010


Author: lucas
Date: Thu Jun 10 21:54:36 2010
New Revision: 36253

URL: http://svn.erp5.org?rev=36253&view=rev
Log:
Before building the RPMs we need to clean the buildout, removing all the files into downloads folder and any folder used to compile any software.

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=36253&r1=36252&r2=36253&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 21:54:36 2010
@@ -34,6 +34,9 @@ bin/buildout -vv
 # cleanup .svn and .pyc files
 find %{installdir} -depth -name .svn -exec rm -rf {} \;
 find %{installdir} -name '*.pyc' -delete
+# remove the content of downloads folder
+# and remove all the folders used to build any software.
+%{__rm} -rf downloads/* parts/*__unpack__
 
 %install
 %{__rm} -rf %{buildroot}

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=36253&r1=36252&r2=36253&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 21:54:36 2010
@@ -35,6 +35,9 @@ bin/buildout -vv
 # cleanup .svn and .pyc files
 find %{installdir} -depth -name .svn -exec rm -rf {} \;
 find %{installdir} -name '*.pyc' -delete
+# remove the content of downloads folder
+# and remove all the folders used to build any software.
+%{__rm} -rf downloads/* parts/*__unpack__
 
 %install
 %{__rm} -rf %{buildroot}

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=36253&r1=36252&r2=36253&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 21:54:36 2010
@@ -34,6 +34,9 @@ bin/buildout -vv
 # cleanup .svn and .pyc files
 find %{installdir} -depth -name .svn -exec rm -rf {} \;
 find %{installdir} -name '*.pyc' -delete
+# remove the content of downloads folder
+# and remove all the folders used to build any software.
+%{__rm} -rf downloads/* parts/*__unpack__
 
 %install
 %{__rm} -rf %{buildroot}




More information about the Erp5-report mailing list