15
0
2025-08-11 12:13:43 +00:00
committed by Git OBS Bridge
parent 081f569356
commit 7ffbcfc6fb

View File

@@ -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