]> git.pld-linux.org Git - packages/python-argcomplete.git/commitdiff
- more sure only one set of scripts is installed to __bindir auto/th/python-argcomplete-1.9.3-3
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 09:19:15 +0000 (10:19 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 09:19:15 +0000 (10:19 +0100)
- rel 3

python-argcomplete.spec

index ec32e70b422af100c003c43c9f267646822bdc16..65b40a2ccfabefa31bb5e85689d5eebd3c3b0a59 100644 (file)
@@ -10,7 +10,7 @@
 Summary:       Bash tab completion for argparse
 Name:          python-%{pypi_name}
 Version:       1.9.3
-Release:       2
+Release:       3
 License:       Apache v2.0
 Group:         Libraries/Python
 Source0:       https://github.com/kislyuk/argcomplete/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
@@ -90,6 +90,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
+%{__rm} -r $RPM_BUILD_ROOT/%{_bindir}
 %py3_install
 %endif
 
@@ -104,6 +105,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.rst LICENSE.rst
+%if %{without python3}
+%attr(755,root,root) %{_bindir}/activate-global-python-argcomplete
+%attr(755,root,root) %{_bindir}/python-argcomplete-check-easy-install-script
+%attr(755,root,root) %{_bindir}/python-argcomplete-tcsh
+%attr(755,root,root) %{_bindir}/register-python-argcomplete
+%endif
 %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
 %endif
This page took 0.065718 seconds and 4 git commands to generate.