[Erp5-report] r41163 kazuhiko - /erp5/trunk/utils/rpmgen/templates/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 6 14:21:48 CET 2010
Author: kazuhiko
Date: Mon Dec 6 14:21:48 2010
New Revision: 41163
URL: http://svn.erp5.org?rev=41163&view=rev
Log:
* no need to remove .svn, because we no longer checkout buildout by svn and .svn only exists under parts directory, that should be respected.
* use %exclude instead of removing original files.
Modified:
erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-centos5.5.spec.in
Modified: erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-centos5.5.spec.in
URL: http://svn.erp5.org/erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-centos5.5.spec.in?rev=41163&r1=41162&r2=41163&view=diff
==============================================================================
--- erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-centos5.5.spec.in [utf8] (original)
+++ erp5/trunk/utils/rpmgen/templates/erp5-official-buildout-centos5.5.spec.in [utf8] Mon Dec 6 14:21:48 2010
@@ -37,12 +37,6 @@ EOF
python -S -c 'import urllib2;print urllib2.urlopen("http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py").read()' | python -S -
./bin/buildout -v
-# cleanup .svn directories
-find %{installdir} -depth -name .svn -exec rm -rf {} \;
-# remove the content of downloads folder
-# and remove all the folders used to build any software.
-%{__rm} -rf downloads extends_cache parts/{*__unpack__,*__compile__}
-
%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}
@@ -50,6 +44,10 @@ find %{installdir} -depth -name .svn -ex
%files
%defattr(-, root, root, 0755)
+%exclude %{installdir}/downloads/*
+%exclude %{installdir}/extends-cache/*
+%exclude %{installdir}/parts/*__compile__/*
+%exclude %{installdir}/parts/*__unpack__/*
%{installdir}
%clean
More information about the Erp5-report
mailing list