Use strings for all RPM version variables 17/33117/1
authorDaniel Farrell <dfarrell@redhat.com>
Wed, 20 Jan 2016 17:03:34 +0000 (12:03 -0500)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 20 Jan 2016 17:03:34 +0000 (12:03 -0500)
commitbc20ff38bb1fdd6b0d726cc7ff2d678fada97f15
treebe38d7f7cc6c708a9ee7900c42c0f36e9837c3d7
parentacaa2e4be8a5dbc4225b5110fcff38ae2c824b91
Use strings for all RPM version variables

The new Be ERP rpm_version values of the format

<rpm_release>.<ERP date version>

Broke the `-v` param's int expectations, so that argparse option was
removed. Params to build.py then become strings by default. The
build_vars configuration used unquoted numbers for version values, which
were being read in as ints, causing the comparison between version
values passed to the script and those read in from build_vars to fail
based on type differences. Quotes were added to the data to specify
explicitly that version vars should be treated as strings.

Change-Id: I8b20edc7a26db793d084b9b0899c5e5138af4ab9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
rpm/build.py
rpm/build_vars.yaml