[X2Go-Commits] [buildscripts] 01/01: grab built RPMs and put them at a place in our /home/mike for later upload

git-admin at x2go.org git-admin at x2go.org
Sat Oct 11 15:31:16 CEST 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 0b602a0671e123dea9ad2706c6234848adf43946
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Oct 11 15:30:20 2014 +0200

    grab built RPMs and put them at a place in our /home/mike for later upload
---
 bin/build-rpm-package |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 0247b92..0938191 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -234,6 +234,8 @@ build_packages() {
 						if obs-build --repo "$OPENSUSE_DOWNLOAD_URL" \
 						             --root "/var/cache/obs-build/$PKGDIST/$l_DIST/$l_CODENAME/x86_64/" \
 						             $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm; then
+							mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/x86_64/"
+							mv "/var/cache/obs-build/$PKGDIST/$l_DIST/$l_CODENAME/x86_64/home/abuild/rpmbuild/RPMS/*.rpm" "$PKGDIST/$l_DIST/$l_CODENAME/x86_64/"
 							rpmsign-unattended -D "%_gpg_name debian at x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/x86_64/*.rpm
 						else
 							rm -Rf "$TEMP_DIR"

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list