Fixing RPM build process for when there isn't a SNAPSHOT in our version number

Signed-off-by: Chip Childers <chip.childers@gmail.com>
This commit is contained in:
Marcus Sorensen 2013-04-23 00:04:00 +01:00 committed by Chip Childers
parent 818a2c86d8
commit 73b7fa9d19
1 changed files with 2 additions and 1 deletions

View File

@ -42,9 +42,10 @@ if echo $VERSION | grep SNAPSHOT ; then
DEFPRE="-D_prerelease 1"
DEFREL="-D_rel SNAPSHOT"
else
REALVER=`echo $VERSION`
DEFVER="-D_ver $REALVER"
DEFPRE=
DEFREL=
DEFREL="-D_rel 0"
fi
mkdir -p $RPMDIR/SPECS