From fe1a480bc734e483595861b839d0aaf9ce9c1f4f1524d2063a0c2ba720daf8c2 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Jun 2025 08:33:33 +0000 Subject: [PATCH] - Remove executable bit on files installed outside of the path. (bsc#1244435) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=90 --- python-argcomplete.changes | 5 +++++ python-argcomplete.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-argcomplete.changes b/python-argcomplete.changes index 751f78b..ade32a8 100644 --- a/python-argcomplete.changes +++ b/python-argcomplete.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 08:32:32 UTC 2025 - Steve Kowalik + +- Remove executable bit on files installed outside of the path. (bsc#1244435) + ------------------------------------------------------------------- Sat Jun 7 08:06:26 UTC 2025 - Johannes Kastl diff --git a/python-argcomplete.spec b/python-argcomplete.spec index 6166a1a..d545136 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -31,7 +31,6 @@ Version: 3.5.3 Release: 0 Summary: Bash tab completion for argparse License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/kislyuk/argcomplete Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} @@ -83,7 +82,7 @@ resources over the network). %python_clone -a %{buildroot}%{_bindir}/register-python-argcomplete %python_clone -a %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script %python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_expand %python3_fix_shebang_path %{buildroot}%{$python_sitelib}/argcomplete/scripts/* +%python_expand chmod -x %{buildroot}%{$python_sitelib}/argcomplete/scripts/*.py %endif %check