From ab628716e0c989a9d80afbdff58ecda863330b67 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 27 Apr 2011 10:25:05 +0200 Subject: packaging(RHEL-CTDB): create the rpm directories In RHEL6, rpms are built in /root/rpmbuild, and those directories do not necessarily exist. --- packaging/RHEL-CTDB/makerpms.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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: ## -- cgit