Commit 2bbd04f1 authored by Lucas Carvalho's avatar Lucas Carvalho

Added step to build the RPM to OpenSUSE.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35133 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8d8536ac
......@@ -50,3 +50,13 @@ mandriva-rpm-appliance:
sudo helpers/mandriva2010.0.sh
cd rpmgen; make mandriva
opensuse-rpm-appliance:
sed -i "s,mandriva,opensuse,g" rpmgen/buildout.cfg
sed -i "s,mandriva/,,g" rpmgen/find_provides.sh
sed -i "s,name = erp5-official-buildout,name = erp5-$(PACAKGE_VERSION),g" rpmgen/profiles/opensuse.cfg
sed -i "s,\$${checkout:location\}\/VERSION.txt,$(PACKAGE_VERSION),g" rpmgen/profiles/opensuse.cfg
sed -i "/release \= 001/{x;/^$$/s//0/;y/012/123/;/2/{x;s/release = 001/release = $(PACKAGE_APPLICATION_RELEASE)/;x;};x;}" rpmgen/profiles/opensuse.cfg
sed -i 's,release = 001,release = $(PACKAGE_SOFTWARE_RELEASE),1' rpmgen/profiles/opensuse.cfg
sed -i "s,\$$(shell cat parts/checkout/VERSION.txt),$(VERSION),g" rpmgen/Makefile
sudo helpers/opensuse.sh
cd rpmgen; make opensuse
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