summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-29 15:02:09 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-29 15:02:09 +0100
commit4ac444a703cc402e015bc22fa6d9094317cff64c (patch)
treeec844d92c8f001576ef937b59e8ba0a89aff73cd
parent6b0330cdf0266066b22bf1bd85368ea2190fa44b (diff)
downloadbuildscripts-4ac444a703cc402e015bc22fa6d9094317cff64c.tar.gz
buildscripts-4ac444a703cc402e015bc22fa6d9094317cff64c.tar.bz2
buildscripts-4ac444a703cc402e015bc22fa6d9094317cff64c.zip
specify the chroot.cfg for mock
-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 41f05d8..8c827de 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -245,7 +245,7 @@ build_packages() {
### TODO: build amd64/i386 packages here
[ "x$SKIP_ARCH" != "xamd64" ] && {
- mock ~/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_RELEASE.src.rpm
+ mock -r ${l_DIST}-${l_CODENAME}_x86_64 ~/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_RELEASE.src.rpm
}
#[ "x$SKIP_ARCH" != "xi386" ] && cat debian/control | egrep 'Architecture.*(any|i386)' >/dev/null && {
# DIST=$l_DIST CODENAME=$l_CODENAME ARCH=i386 $PDEBUILD --auto-debsign --debsign-k $GPG_KEY --buildresult "$PKGDIST/$l_DIST/$l_CODENAME/i386" -- --binary-arch --allow-untrusted $SA_OPTION 0<&-