[Erp5-report] r33991 luke - /erp5/trunk/utils/rpmgen/templates/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 23 11:10:31 CET 2010
Author: luke
Date: Tue Mar 23 11:10:29 2010
New Revision: 33991
URL: http://svn.erp5.org?rev=33991&view=rev
Log:
- allow to define softwarehome
Modified:
erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in
Modified: erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in
URL: http://svn.erp5.org/erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in?rev=33991&r1=33990&r2=33991&view=diff
==============================================================================
--- erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in [utf8] (original)
+++ erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in [utf8] Tue Mar 23 11:10:29 2010
@@ -7,6 +7,7 @@
%define fullname %{name}-%{version}
%define installdir /var/lib/erp5
%define __find_provides ${:find_provides}
+%define softwarehome ${:softwarehome}
Name: %{name}
Version: %{version}
@@ -37,8 +38,8 @@
cd %{installdir}
svn co https://svn.erp5.org/repos/public/erp5/trunk/buildout/ .
echo "[software_definition]" >> timmy-base.cfg
-echo "software_home = %{installdir}" >> timmy-base.cfg
-%{installdir}/bin/python2.4 bootstrap/bootstrap.py -c timmy-base.cfg
+echo "software_home = %{softwarehome}" >> timmy-base.cfg
+%{softwarehome}/bin/python2.4 bootstrap/bootstrap.py -c timmy-base.cfg
bin/buildout -c timmy-base.cfg
%post
More information about the Erp5-report
mailing list