- uninstall alternatives in %postun
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=36
This commit is contained in:
parent
f71e99cde1
commit
6db7a8e756
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 29 13:53:04 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- uninstall alternatives in %postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 20 14:19:34 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
|
@ -31,7 +31,7 @@ BuildRequires: python-rpm-macros
|
||||
# the pkg_resources module is required at runtime
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
@ -54,7 +54,7 @@ modules with side effects. It's also much faster.
|
||||
%post
|
||||
%python_install_alternative pyflakes
|
||||
|
||||
%preun
|
||||
%postun
|
||||
%python_uninstall_alternative pyflakes
|
||||
|
||||
%files %{python_files}
|
||||
|
Loading…
Reference in New Issue
Block a user