Commit 8107bc54 authored by Lucas Carvalho's avatar Lucas Carvalho

- Following such name:

Name        : erp5-5.4.6
Version     : 001
Release     : mdv2010.0



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34079 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 44c568bf
......@@ -3,6 +3,9 @@ PACKAGE_INSTALL_PATH='opt/erp5/'`cat VERSION.txt`
ifndef $(PACKAGE_VERSION)
PACKAGE_VERSION=`cat VERSION.txt`
endif
ifndef $(PACKAGE_RELEASE)
PACKAGE_RELEASE="None"
endif
software: bin/buildout
bin/buildout
......@@ -36,9 +39,9 @@ rpm-appliance:
# set the correct name erp5-5.4.6
sed -i "s,name = erp5-official-buildout,name = erp5-`cat VERSION.txt`,g" rpmgen/buildout.cfg
# set the correct version defined in the main buildout
sed -i "s,\$${checkout:location\}\/VERSION.txt,`cat VERSION.txt`,g" rpmgen/buildout.cfg
sed -i "s,\$${checkout:location\}\/VERSION.txt,$(PACKAGE_VERSION),g" rpmgen/buildout.cfg
# set the correct release
sed -i "s,release = 001,release = $(PACKAGE_VERSION),g" rpmgen/buildout.cfg
if [ $(PACKAGE_RELEASE) != 'None' ]; then sed -i "s,release = mdv2010.0,release = $(PACKAGE_RELEASE),g" rpmgen/buildout.cfg; fi
# 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment