cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject git commit: updated refs/heads/4.1 to 73b7fa9
Date Mon, 22 Apr 2013 23:04:18 GMT
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 <chip.childers@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 <shadowsor@gmail.com>
Authored: Tue Apr 23 00:04:00 2013 +0100
Committer: Chip Childers <chip.childers@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


Mime
View raw message