[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: OBS is broken and doesn't recognize -b options passed after --stage. Use --stage=-b... as a workaround.

git-admin at x2go.org git-admin at x2go.org
Wed Sep 6 08:50:02 CEST 2017


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

x2go pushed a commit to branch master
in repository buildscripts.

commit 5fae5008a6b840d2c10fb05d8936e15fb1de99e8
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Sep 6 08:49:54 2017 +0200

    bin/build-rpm-package: OBS is broken and doesn't recognize -b options passed after --stage. Use --stage=-b... as a workaround.
---
 bin/build-rpm-package | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 39243a2..d60b1cb 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -925,7 +925,7 @@ build_packages() {
 							             --repo "${DOWNLOAD_URL}" \
 							             --root "/var/cache/obs-build/${l_DIST}/${l_CODENAME}/${base_arch}/" \
 							             --clean \
-							             --stage "-bs" \
+							             --stage="-bs" \
 							             "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/rpmbuild/SOURCES/${PROJECT}.spec"; then
 
 								# Copy and sign source RPM's.
@@ -970,7 +970,7 @@ build_packages() {
 								             --root "/var/cache/obs-build/${l_DIST}/${l_CODENAME}/${l_ARCH}/" \
 								             --arch "${l_ARCH}" \
 								             --clean \
-								             --stage "-bb" \
+								             --stage="-bb" \
 								             "${PKGDIST}/${l_DIST}/${l_CODENAME}/SRPM/rpmbuild/SOURCES/${PROJECT}.spec"; then
 									# For information on why this weird -print0 | read -r -d '' construction works,
 									# refer to the first instance of this in this script.

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


More information about the x2go-commits mailing list