diff --git a/python-chardet.changes b/python-chardet.changes index 40e79c8..714cbf4 100644 --- a/python-chardet.changes +++ b/python-chardet.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 15 07:02:02 UTC 2018 - antoine.belvire@opensuse.org + +- Fix update-alternatives call in %postun. + ------------------------------------------------------------------- Wed Sep 20 21:47:30 UTC 2017 - dmueller@suse.com diff --git a/python-chardet.spec b/python-chardet.spec index 007b9b7..62c6df6 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -90,7 +90,7 @@ mv %{buildroot}%{_bindir}/chardetect %{buildroot}%{_bindir}/chardetect-%{$python %python_install_alternative chardetect %postun -%python_install_alternative chardetect +%python_uninstall_alternative chardetect %files %{python_files} %defattr(-,root,root,-)