14
0
forked from pool/python-pylint

- uninstall alternatives in %postun

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=73
This commit is contained in:
Jan Matejek
2017-03-29 14:03:31 +00:00
committed by Git OBS Bridge
parent d8e651dcb7
commit 0f1a293c08
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 29 13:53:04 UTC 2017 - jmatejek@suse.com
- uninstall alternatives in %postun
- add update-alternatives requires
-------------------------------------------------------------------
Wed Mar 1 14:27:35 UTC 2017 - jmatejek@suse.com

View File

@@ -44,6 +44,8 @@ BuildRequires: python2-singledispatch
# test is checking that "tkinter.tix" is deprecated
BuildRequires: python3-tk
# /SECTION
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: python-astroid
Requires: python-editdistance
Requires: python-isort >= 4.2.5
@@ -97,7 +99,7 @@ done
%post
%python_install_alternative pylint epylint pyreverse symilar
%preun
%postun
%python_uninstall_alternative pylint
%check