Skip to content

Commit a2ebcc7

Browse files
Josh Huntsravnborg
authored andcommitted
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>
1 parent d15bd10 commit a2ebcc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/package/mkspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ echo "%endif"
9696

9797
echo ""
9898
echo "%clean"
99-
echo '#echo -rf $RPM_BUILD_ROOT'
99+
echo 'rm -rf $RPM_BUILD_ROOT'
100100
echo ""
101101
echo "%files"
102102
echo '%defattr (-, root, root)'

0 commit comments

Comments
 (0)