From d8b6144c976168adc42bc91a4735e508d02bdef9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 3 Dec 2010 02:13:46 -0700 Subject: [PATCH] v3-4-ctdb: Fix debuginfo builds --- packaging/RHEL-CTDB/makerpms.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packaging/RHEL-CTDB/makerpms.sh b/packaging/RHEL-CTDB/makerpms.sh index 74d5f7b3d9..0de95d2e47 100755 --- a/packaging/RHEL-CTDB/makerpms.sh +++ b/packaging/RHEL-CTDB/makerpms.sh @@ -41,6 +41,17 @@ case $RPMVER in ;; esac +## +## Delete the old debuginfo remnants +## + +echo "Deleting samba-debuginfo and /usr/src/redhat/BUILD/samba*" +echo "Press Control-C if you want to quit" +sleep 10 +echo "That was your chance... :-)" +rpm -e samba-debuginfo +rm -rf /usr/src/redhat/BUILD/samba* + ## ## determine the samba version and create the SPEC file ## -- 2.34.1