You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ch...@apache.org on 2013/04/23 01:04:18 UTC
git commit: updated refs/heads/4.1 to 73b7fa9
Updated Branches:
refs/heads/4.1 818a2c86d -> 73b7fa9d1
Fixing RPM build process for when there isn't a SNAPSHOT in our version number
Signed-off-by: Chip Childers <ch...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/73b7fa9d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/73b7fa9d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/73b7fa9d
Branch: refs/heads/4.1
Commit: 73b7fa9d1948c013a14273d31ec138f28d7b286d
Parents: 818a2c8
Author: Marcus Sorensen <sh...@gmail.com>
Authored: Tue Apr 23 00:04:00 2013 +0100
Committer: Chip Childers <ch...@gmail.com>
Committed: Tue Apr 23 00:04:00 2013 +0100
----------------------------------------------------------------------
packaging/centos63/package.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/73b7fa9d/packaging/centos63/package.sh
----------------------------------------------------------------------
diff --git a/packaging/centos63/package.sh b/packaging/centos63/package.sh
index d9d5b1c..5bdd13d 100755
--- a/packaging/centos63/package.sh
+++ b/packaging/centos63/package.sh
@@ -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