commit 511288509f9237cdb5e03760947f1d5d36520513
Author: Alexandre Detiste <alexandre.detiste(a)gmail.com>
Date: Wed Jan 4 09:13:45 2023 +0100
rpmlint: do not chmod +x the one empty __init__.py
rpmlint would complain about the missing shebang
game-data-packager.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/game-data-packager.spec b/game-data-packager.spec
index 50ec695..9b40561 100644
--- a/game-data-packager.spec
+++ b/game-data-packager.spec
@@ -100,7 +100,7 @@ echo disabled
%install
%meson_install
-find %{buildroot}%{_datadir}/game-data-packager/game_data_packager -name '*.py'
-exec chmod 755 {} \;
+find %{buildroot}%{_datadir}/game-data-packager/game_data_packager -name '*.py' !
-empty -exec chmod 755 {} \;
#E: python-bytecode-inconsistent-mtime
python3 -m compileall
%{buildroot}%{_datadir}/game-data-packager/game_data_packager/version.py
find %{buildroot}%{_sysconfdir}/game-data-packager -empty -exec sh -c "echo '#
we need more mirrors' > {}" \;
Show replies by date