diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-11-29 14:51:42 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-11-29 14:51:42 +0100 |
commit | c95897846764ac082c6ce3d1a78786ca4cd31e8a (patch) | |
tree | 98f7866b59a5c59a809dfe99c77b57433a394fb2 | |
parent | 482cc782982aad63627d96af98a603f714a103d1 (diff) | |
download | buildscripts-c95897846764ac082c6ce3d1a78786ca4cd31e8a.tar.gz buildscripts-c95897846764ac082c6ce3d1a78786ca4cd31e8a.tar.bz2 buildscripts-c95897846764ac082c6ce3d1a78786ca4cd31e8a.zip |
build the srpm package
-rwxr-xr-x | bin/build-rpm-package | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package index 6edd039..155b5b1 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -191,6 +191,11 @@ build_packages() { mv $TEMP_DIR/$PROJECT $TEMP_DIR/$PROJECT-$UPSTREAM_VERSION tar -czf ~/rpmbuild/SOURCES/$PROJECT-$UPSTREAM_VERSION.tar.gz $PROJECT-$UPSTREAM_VERSION + + # create the SRPM package + rpmbuild -bs $PROJECT.spec + + # clean up the Git clone from the temp folder cd && rm $TEMP_DIR/$PROJECT -Rf |