[packages/powerline] - added cleanup

mrozowik mrozowik at pld-linux.org
Sat Oct 30 15:17:17 CEST 2021


commit cc71e7fcebd7598e367d6ac3ab173af2545e3e07
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Sat Oct 30 13:17:05 2021 +0000

    - added cleanup

 powerline.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/powerline.spec b/powerline.spec
index ab2fdea..faf1b60 100644
--- a/powerline.spec
+++ b/powerline.spec
@@ -171,6 +171,7 @@ ln -s %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rcpowerline
 
 # cleanup
 rm -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/%{name}/config_files
+find $RPM_BUILD_ROOT%{py3_sitescriptdir}/%{name}/bindings -name "*.py[a-z]" -delete
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/powerline.git/commitdiff/cc71e7fcebd7598e367d6ac3ab173af2545e3e07



More information about the pld-cvs-commit mailing list