Build RPMs totally based on external build_vars 32/26932/2
authorDaniel Farrell <dfarrell@redhat.com>
Mon, 14 Sep 2015 20:42:13 +0000 (16:42 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Mon, 14 Sep 2015 21:36:11 +0000 (17:36 -0400)
commit4f0d1814e7cf54acf485c2a4e4b276b03733e74c
tree7d0cd53483f498f579442028a67eca41b9725fad
parent70271b2476bcc454f8f3601035948d0bc99edb9f
Build RPMs totally based on external build_vars

Connect recent refactoring in opendaylight.spec and build.sh to fully
define RPM builds based on external build variable files.

This is necessary for supporting multiple RPM releases at the same time,
like Lithium, Lithium SR1 and Helium SR4.

To add additional RPM builds, we now simply define additional var files.

Change-Id: I7b32041b2e99a51b6823b47a002b9834e022422c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
rpm/build.sh
rpm/build_vars/default_vars.sh [new file with mode: 0644]
rpm/build_vars/vars_3.0.0-2.sh
rpm/opendaylight.spec