forked from pool/python-argcomplete
fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=97
This commit is contained in:
@@ -109,23 +109,20 @@ export TERM=xterm-mono
|
||||
%endif
|
||||
|
||||
%if %{without test}
|
||||
%if %{with libalternatives}
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative activate-global-python-argcomplete
|
||||
%python_libalternatives_reset_alternative register-python-argcomplete
|
||||
%python_libalternatives_reset_alternative python-argcomplete-check-easy-install-script
|
||||
%else
|
||||
|
||||
%post
|
||||
%python_install_alternative activate-global-python-argcomplete
|
||||
%python_install_alternative register-python-argcomplete
|
||||
%python_install_alternative python-argcomplete-check-easy-install-script
|
||||
|
||||
%pre
|
||||
%postun
|
||||
%python_uninstall_alternative activate-global-python-argcomplete
|
||||
%python_uninstall_alternative register-python-argcomplete
|
||||
%python_uninstall_alternative python-argcomplete-check-easy-install-script
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user