[Erp5-report] r33606 lucas - /erp5/trunk/buildout/Makefile

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 11 04:52:22 CET 2010


Author: lucas
Date: Thu Mar 11 04:52:22 2010
New Revision: 33606

URL: http://svn.erp5.org?rev=33606&view=rev
Log:
Now is possible to build rpm.

Modified:
    erp5/trunk/buildout/Makefile

Modified: erp5/trunk/buildout/Makefile
URL: http://svn.erp5.org/erp5/trunk/buildout/Makefile?rev=33606&r1=33605&r2=33606&view=diff
==============================================================================
--- erp5/trunk/buildout/Makefile [utf8] (original)
+++ erp5/trunk/buildout/Makefile [utf8] Thu Mar 11 04:52:22 2010
@@ -31,3 +31,14 @@
 	rm -rf `find debian-erp5-appliance/ -name *.pyc`
 	dpkg-deb -b debian-erp5-appliance/ .
 
+rpm-appliance:
+	svn co https://svn.erp5.org/repos/public/erp5/trunk/utils/rpmgen rpmgen
+	# set the correct version defined in the main buildout
+	sed -i "s,\$${checkout:location\}\/VERSION.txt,`cat VERSION.txt`,g" rpmgen/buildout.cfg
+	# set the correct release
+	sed -i "s,release = 001,release = $(PACKAGE_VERSION),g" rpmgen/buildout.cfg
+	# it must use version defined in the main buildout
+	sed -i "s,\$$(shell cat parts/checkout/VERSION.txt), `cat VERSION.txt`,g" rpmgen/Makefile
+	sudo helpers/mandriva2010.0.sh
+	# just make and wait...
+	cd rpmgen; make




More information about the Erp5-report mailing list