From: Josh Hunt Date: Sun, 22 Feb 2009 18:54:55 +0000 (-0800) Subject: kbuild: fix mkspec to cleanup RPM_BUILD_ROOT X-Git-Tag: v2.6.29-rc8~2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2ebcc7a863761b6d59a4183c600edf5af63b8d2;p=thirdparty%2Fkernel%2Fstable.git kbuild: 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. Signed-off-by: Josh Hunt Signed-off-by: Sam Ravnborg --- diff --git a/scripts/package/mkspec b/scripts/package/mkspec index ee448cdc6a2b3..3d93f8c812524 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -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)'