Explorar o código

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>
Josh Hunt %!s(int64=17) %!d(string=hai) anos
pai
achega
a2ebcc7a86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/package/mkspec

+ 1 - 1
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)'