Add override for pkg version in pkg build logic 21/76721/8
authorDaniel Farrell <dfarrell@redhat.com>
Sat, 6 Oct 2018 03:05:33 +0000 (23:05 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Mon, 8 Oct 2018 13:45:43 +0000 (09:45 -0400)
commitb8ecbbb9e1cfdbb7909d582d58d09601db37be98
tree3fc0f4a78d9035a6c9d895c32f994d11a565022b
parentfa510eb55f770978c030b6d09a3a498e99f1e20e
Add override for pkg version in pkg build logic

The package version is the bit after the minus, meant for use by the
package itself, not the thing being packaged (ODL). It's normally
auto-detected for pre-release builds, or manually fixed at 1 for
releases. Add param to optionally manually override.

This is needed to fix an issue with building the Fluorine Common Distro
on the CentOS CBS.

Jira: INTPAK-210
Change-Id: Ifc97d92d4ec3503b31ea57eb535cdf79505afcf0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
packages/build.py