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:
committed by
Git OBS Bridge
parent
d8e651dcb7
commit
0f1a293c08
@@ -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
|
Wed Mar 1 14:27:35 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
@@ -44,6 +44,8 @@ BuildRequires: python2-singledispatch
|
|||||||
# test is checking that "tkinter.tix" is deprecated
|
# test is checking that "tkinter.tix" is deprecated
|
||||||
BuildRequires: python3-tk
|
BuildRequires: python3-tk
|
||||||
# /SECTION
|
# /SECTION
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
Requires: python-astroid
|
Requires: python-astroid
|
||||||
Requires: python-editdistance
|
Requires: python-editdistance
|
||||||
Requires: python-isort >= 4.2.5
|
Requires: python-isort >= 4.2.5
|
||||||
@@ -97,7 +99,7 @@ done
|
|||||||
%post
|
%post
|
||||||
%python_install_alternative pylint epylint pyreverse symilar
|
%python_install_alternative pylint epylint pyreverse symilar
|
||||||
|
|
||||||
%preun
|
%postun
|
||||||
%python_uninstall_alternative pylint
|
%python_uninstall_alternative pylint
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Reference in New Issue
Block a user