mirror of https://github.com/apache/cloudstack.git
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:
parent
818a2c86d8
commit
73b7fa9d19
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue