diff --git a/python-pip.changes b/python-pip.changes index 25f44cc..cc0f6bb 100644 --- a/python-pip.changes +++ b/python-pip.changes @@ -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 diff --git a/python-pip.spec b/python-pip.spec index 5c4a09e..b370b35 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -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