Commit 82811981 authored by Lucas Carvalho's avatar Lucas Carvalho

Added step to build rpms for fedora.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35438 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f5289156
...@@ -62,3 +62,13 @@ opensuse-rpm-appliance: checkout-rpmgen ...@@ -62,3 +62,13 @@ 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
sed -i "s,mandriva,fedora,g" rpmgen/buildout.cfg
sed -i "s,name = erp5-official-buildout,name = erp5-$(PACKAGE_VERSION),g" rpmgen/profiles/fedora.cfg
sed -i "s,\$${checkout:location\}\/VERSION.txt,$(PACKAGE_VERSION),g" 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/fedora.cfg
sed -i 's,release = 001,release = $(PACKAGE_SOFTWARE_RELEASE),1' rpmgen/profiles/fedora.cfg
sed -i "s,\$$(shell cat parts/checkout/VERSION.txt),$(PACKAGE_VERSION),g" rpmgen/Makefile
sudo helpers/fedora.sh
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