cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [13/45] git commit: refs/heads/storage_refactor - Commit review 9409 Added a global package name in the packaging script Signed-off-by: Hugo Trippaers <trippie@gmail.com>
Date Thu, 21 Feb 2013 19:15:17 GMT
Commit review 9409 Added a global package name in the packaging script
Signed-off-by: Hugo Trippaers <trippie@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/3279b414
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/3279b414
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/3279b414

Branch: refs/heads/storage_refactor
Commit: 3279b4146526e2f4e77a06699887cb7ea141fc0b
Parents: 6c01b62
Author: Pradeep Soundararajan <pradeep.soundararajan@citrix.com>
Authored: Thu Feb 21 10:40:16 2013 +0100
Committer: Hugo Trippaers <trippie@gmail.com>
Committed: Thu Feb 21 10:40:16 2013 +0100

----------------------------------------------------------------------
 packaging/centos63/package.sh |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/3279b414/packaging/centos63/package.sh
----------------------------------------------------------------------
diff --git a/packaging/centos63/package.sh b/packaging/centos63/package.sh
index fa45210..2515ecb 100755
--- a/packaging/centos63/package.sh
+++ b/packaging/centos63/package.sh
@@ -18,7 +18,7 @@
 
 CWD=`pwd`
 RPMDIR=$CWD/../../dist/rpmbuild
-
+PACK_PROJECT=cloudstack
 
 
 VERSION=`(cd ../../; mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version)
| grep '^[0-9]\.'`
@@ -34,12 +34,12 @@ else
 fi
 
 mkdir -p $RPMDIR/SPECS
-mkdir -p $RPMDIR/SOURCES/cloudstack-$VERSION
+mkdir -p $RPMDIR/SOURCES/$PACK_PROJECT-$VERSION
 
 
-(cd ../../; tar -c --exclude .git --exclude dist  .  | tar -C $RPMDIR/SOURCES/cloudstack-$VERSION
-x )
-(cd $RPMDIR/SOURCES/; tar -czf cloudstack-$VERSION.tgz cloudstack-$VERSION)
+(cd ../../; tar -c --exclude .git --exclude dist  .  | tar -C $RPMDIR/SOURCES/$PACK_PROJECT-$VERSION
-x )
+(cd $RPMDIR/SOURCES/; tar -czf $PACK_PROJECT-$VERSION.tgz $PACK_PROJECT-$VERSION)
 
 cp cloud.spec $RPMDIR/SPECS
 
-(cd $RPMDIR; rpmbuild -ba SPECS/cloud.spec "-D_topdir $RPMDIR" "$DEFVER" "$DEFREL" "$DEFPRE"
)
+(cd $RPMDIR; rpmbuild -ba SPECS/cloud.spec "-D_topdir $RPMDIR" "$DEFVER" "$DEFREL" "$DEFPRE")


Mime
View raw message