- uninstall alternatives in %postun

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=64
This commit is contained in:
Jan Matejek 2017-03-29 13:53:23 +00:00 committed by Git OBS Bridge
parent 9e82ba1015
commit 63408e0cf0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 29 13:53:04 UTC 2017 - jmatejek@suse.com
- uninstall alternatives in %postun
-------------------------------------------------------------------
Wed Mar 29 11:59:27 UTC 2017 - tbechtold@suse.com

View File

@ -87,7 +87,7 @@ mv %{buildroot}%{_bindir}/pbr %{buildroot}%{_bindir}/pbr-%{$python_bin_suffix}
%post
%python_install_alternative pbr
%preun
%postun
%python_uninstall_alternative pbr
%files %{python_files}