summaryrefslogtreecommitdiffstats
path: root/scripts/package/mkspec
diff options
context:
space:
mode:
authorJosh Hunt <josh@scalex86.org>2009-02-22 19:54:55 +0100
committerSam Ravnborg <sam@ravnborg.org>2009-03-07 13:53:21 +0100
commita2ebcc7a863761b6d59a4183c600edf5af63b8d2 (patch)
tree5305f5a3fad6c3d010fe18dd541db4923e959a2f /scripts/package/mkspec
parentkbuild: fix C libary confusion in unifdef.c due to getline() (diff)
downloadlinux-a2ebcc7a863761b6d59a4183c600edf5af63b8d2.tar.xz
linux-a2ebcc7a863761b6d59a4183c600edf5af63b8d2.zip
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 <josh@scalex86.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/package/mkspec')
-rwxr-xr-xscripts/package/mkspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index ee448cdc6a2b..3d93f8c81252 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)'