[PATCH 6/6] kbuild: cleanup the rpm buildroot

Arun Sharma
2011-05-17T17:37:49Z

Signed-off-by: Arun Sharma <asharma@fb.com>
---
scripts/package/mkspec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index 9a8c2fa..79dbe5c 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -81,6 +81,7 @@ echo ""
fi

echo "%build"
+echo 'rm -rf $RPM_BUILD_ROOT'

if ! $PREBUILT; then
echo "make clean && make %{?_smp_mflags}"
--
1.7.4