[PATCH] Fix mkspec to cleanup RPM_BUILD_ROOT

From: Josh Hunt
Date: Sun Feb 22 2009 - 13:55:19 EST


The contents of the %clean section in mkspec is currently commented
out leaving RPM_BUILD_ROOT and its contents on the build machine.
This patch removes it once the rpm build process is complete.

Signed-off-by: Josh Hunt <josh@xxxxxxxxxxxx>
---

Index: linux-2.6/scripts/package/mkspec
===================================================================
--- linux-2.6.orig/scripts/package/mkspec 2009-02-20
15:51:22.000000000 -0800
+++ linux-2.6/scripts/package/mkspec 2009-02-20 16:06:32.000000000
-0800
@@ -96,7 +96,7 @@ echo "%endif"

echo ""
echo "%clean"
-echo '#echo -rf $RPM_BUILD_ROOT'
+echo 'rm -rf $RPM_BUILD_ROOT'
echo ""
echo "%files"
echo '%defattr (-, root, root)'

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/