Skip to content

Commit

Permalink
kbuild: fix mkspec to cleanup RPM_BUILD_ROOT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Josh Hunt authored and Sam Ravnborg committed Mar 7, 2009
1 parent d15bd10 commit a2ebcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/mkspec
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down

0 comments on commit a2ebcc7

Please sign in to comment.