kbuild: fix mkspec to cleanup RPM_BUILD_ROOT
authorJosh Hunt <josh@scalex86.org>
Sun, 22 Feb 2009 18:54:55 +0000 (10:54 -0800)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 7 Mar 2009 12:53:21 +0000 (13:53 +0100)
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@scalex86.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/package/mkspec

index ee448cd..3d93f8c 100755 (executable)
@@ -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)'