summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-11 16:55:49 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-10-11 16:55:49 +0200
commitffb1c6f5a765d4cadcea026f0e5d36263001b859 (patch)
tree132c71a8b7329f85930919a6da4b0aae7b6244e3 /bin/build-rpm-package
parent872ef4bdaedbf2da9c1a85205d616b8e6729a9ec (diff)
downloadbuildscripts-ffb1c6f5a765d4cadcea026f0e5d36263001b859.tar.gz
buildscripts-ffb1c6f5a765d4cadcea026f0e5d36263001b859.tar.bz2
buildscripts-ffb1c6f5a765d4cadcea026f0e5d36263001b859.zip
obs-build: fix path where we find the built RPMs.
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 6b21126..8cc8b46 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -238,7 +238,7 @@ build_packages() {
--clean \
$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/"
+ mv "/var/cache/obs-build/$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"