- uninstall alternatives in %postun

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=47
This commit is contained in:
Jan Matejek 2017-03-29 13:52:20 +00:00 committed by Git OBS Bridge
parent 8e50cef319
commit 16c54f4fd8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 29 13:52:06 UTC 2017 - jmatejek@suse.com
- uninstall alternatives in %postun
-------------------------------------------------------------------
Thu Feb 23 15:31:57 UTC 2017 - jmatejek@suse.com

View File

@ -94,7 +94,7 @@ PRIO=$(echo %{python_version} | tr -d .)
%install_alternative pip %{_bindir}/pip%{python_version} $PRIO
%endif
%preun
%postun
%ifpypy3
%uninstall_alternative pip %{_bindir}/pip-%{pypy3_bin_suffix}
%else