Fix mkspec to cleanup RPM_BUILD_ROOT
PATCH 1/1 Fix mkspec to cleanup RPM_BUILD_ROOT
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.
---
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)'
Sam Ravnborg
AppliedQuoted 5 lines · Josh Hunt
The contents of the %clean section in mkspec is currently commented out leaving
RPM_BUILD_ROOTand its contents on the build machine. This patch removes it once the rpm build process is complete.Signed-off-by Josh Hunt <[email protected]>
Applied,
Sam