Commit 6fcecace authored by Lucas Carvalho's avatar Lucas Carvalho

Compiling the RPMs for Fedora 13 is not the same as for Fedora 12, it requires...

Compiling the RPMs for Fedora 13 is not the same as for Fedora 12, it requires a new profile into rpmgen. (Work in progress)

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