Accepting request 483388 from devel:languages:python
- uninstall alternatives in %postun OBS-URL: https://build.opensuse.org/request/show/483388 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=28
This commit is contained in:
commit
1d5f18f855
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 29 13:53:04 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- uninstall alternatives in %postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 13 17:18:44 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
|
@ -36,7 +36,7 @@ Requires: python-setuptools
|
||||
Requires: python-xml
|
||||
Requires(pre): coreutils
|
||||
Requires(post): /usr/sbin/update-alternatives
|
||||
Requires(preun): /usr/sbin/update-alternatives
|
||||
Requires(postun): /usr/sbin/update-alternatives
|
||||
|
||||
%python_subpackages
|
||||
|
||||
@ -69,7 +69,7 @@ ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3
|
||||
%post
|
||||
%python_install_alternative coverage
|
||||
|
||||
%preun
|
||||
%postun
|
||||
%python_uninstall_alternative coverage
|
||||
|
||||
%files %python_files
|
||||
|
Loading…
x
Reference in New Issue
Block a user