[packages/kitty/pld-builder] Allow no .py* match from installation root

glen glen at pld-linux.org
Wed Feb 22 20:47:24 CET 2023


commit 35d689c0530b5274660891e1bd6ce64817bfe378
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Feb 22 21:47:10 2023 +0200

    Allow no .py* match from installation root

 kitty.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/kitty.spec b/kitty.spec
index 81bae55..cbffc96 100644
--- a/kitty.spec
+++ b/kitty.spec
@@ -176,7 +176,7 @@ sed 's|set -l KITTY_INSTALLATION_DIR .*|set -l KITTY_INSTALLATION_DIR "%{_libdir
  -i $RPM_BUILD_ROOT%{fish_compdir}/%{name}.fish
 
 # script-without-shebang '__init__.py'
-find $RPM_BUILD_ROOT -type f -name "*.py*" ! -name askpass.py | xargs chmod a-x
+find $RPM_BUILD_ROOT -type f -name "*.py*" ! -name askpass.py | xargs -r chmod a-x
 
 %if %{with doc}
 # rpmlint fixes
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kitty.git/commitdiff/35d689c0530b5274660891e1bd6ce64817bfe378



More information about the pld-cvs-commit mailing list