[X2Go-Commits] buildscripts.git - master (branch) updated: ab93627c1ffabbf292b848eca4f0dad803cf504a

X2Go dev team git-admin at x2go.org
Fri Nov 29 14:38:24 CET 2013


The branch, master has been updated
       via  ab93627c1ffabbf292b848eca4f0dad803cf504a (commit)
      from  1bc4cbefa9662b352e233548ddd12b2d2b59aa38 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ab93627c1ffabbf292b848eca4f0dad803cf504a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Nov 29 14:37:53 2013 +0100

    create source tarball from Git manually

-----------------------------------------------------------------------

Summary of changes:
 bin/build-rpm-package |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 0bb0583..07fa84b 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -194,11 +194,14 @@ build_packages() {
 				git checkout $CHECKOUT || git checkout master
 
 				GITREV=$(gitrevno)
-				VERSION=$l_CODENAME
+				UPSTREAM_VERSION=$(cat $PROJECT.spec | egrep "^Version:.*" | awk '{ print $2 }')
 
 				# tar upstream sources from our Git clone
-
-				### TODO: really tar the sources
+				mkdir -p ~/rpmbuild/SOURCES
+				rm -Rf ".git"
+				cd ..
+				mv $TEMP_DIR/$PROJECT $TEMP_DIR/$PROJECT-$UPSTREAM_VERSION
+				tar -czf ~/rpmbuild/SOURCES/$PROJECT-$UPSTREAM_VERSION $TEMP_DIR/$PROJECT-$UPSTREAM_VERSION
 
 				# modify the section for non-main package builds
 


hooks/post-receive
-- 
buildscripts.git (X2Go packaging scripts)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "buildscripts.git" (X2Go packaging scripts).




More information about the x2go-commits mailing list