summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-27 10:25:05 +0200
committerMichael Adam <obnox@samba.org>2011-05-18 22:00:24 +0200
commitab628716e0c989a9d80afbdff58ecda863330b67 (patch)
tree75b5936995465f8fd7eab2c903a8a430953fc0e0 /packaging
parenteb57d4719fc41352080a514cb40a0aca54153d35 (diff)
downloadsamba-ab628716e0c989a9d80afbdff58ecda863330b67.tar.gz
samba-ab628716e0c989a9d80afbdff58ecda863330b67.tar.bz2
samba-ab628716e0c989a9d80afbdff58ecda863330b67.zip
packaging(RHEL-CTDB): create the rpm directories
In RHEL6, rpms are built in /root/rpmbuild, and those directories do not necessarily exist.
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/RHEL-CTDB/makerpms.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/makerpms.sh b/packaging/RHEL-CTDB/makerpms.sh
index c1a4b70151..0eed6aa9be 100755
--- a/packaging/RHEL-CTDB/makerpms.sh
+++ b/packaging/RHEL-CTDB/makerpms.sh
@@ -42,6 +42,14 @@ case $RPMVER in
;;
esac
+mkdir -p `rpm --eval %_specdir`
+mkdir -p `rpm --eval %_sourcedir`
+mkdir -p `rpm --eval %_builddir`
+mkdir -p `rpm --eval %_srcrpmdir`
+mkdir -p `rpm --eval %_rpmdir`/noarch
+mkdir -p `rpm --eval %_rpmdir`/i386
+mkdir -p `rpm --eval %_rpmdir`/x86_64
+
##
## Delete the old debuginfo remnants:
##