summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-11 15:30:20 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-11 15:30:20 +0200
commit0b602a0671e123dea9ad2706c6234848adf43946 (patch)
tree4fd4edd32c9304ba8e046f7e1bc096f3f2fe526b /bin/build-rpm-package
parent7b2f720d09817ea673dd1dadc88673056faf950f (diff)
downloadbuildscripts-0b602a0671e123dea9ad2706c6234848adf43946.tar.gz
buildscripts-0b602a0671e123dea9ad2706c6234848adf43946.tar.bz2
buildscripts-0b602a0671e123dea9ad2706c6234848adf43946.zip
grab built RPMs and put them at a place in our /home/mike for later upload
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 2 insertions, 0 deletions
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@x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/x86_64/*.rpm
else
rm -Rf "$TEMP_DIR"