Commit 84650b37 authored by Lucas Carvalho's avatar Lucas Carvalho

Compiling the RPMs for OpenSUSE 11.2 is not the same as for OpenSUSE 11.3, it...

Compiling the RPMs for OpenSUSE 11.2 is not the same as for OpenSUSE 11.3, it requires a new profile into rpmgen.

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