forked from pool/neovim
- Remove update-alternatives as it's not 1:1.
Upstream is not willing to do that: https://github.com/neovim/neovim/issues/8535 OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=28
This commit is contained in:
parent
10897a4d68
commit
5bc6f1d667
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 12 10:37:29 UTC 2018 - mliska@suse.cz
|
||||||
|
|
||||||
|
- Remove update-alternatives as it's not 1:1.
|
||||||
|
Upstream is not willing to do that:
|
||||||
|
https://github.com/neovim/neovim/issues/8535
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 11 09:14:24 UTC 2018 - asn@cryptomilk.org
|
Mon Jun 11 09:14:24 UTC 2018 - asn@cryptomilk.org
|
||||||
|
|
||||||
|
@ -89,14 +89,10 @@ make %{?_smp_mflags}
|
|||||||
%find_lang nvim
|
%find_lang nvim
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{_sbindir}/update-alternatives --install %{_bindir}/vim vim %{_bindir}/nvim 15
|
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ ! -e %{_bindir}/nvim ] ; then
|
|
||||||
%{_sbindir}/update-alternatives --remove vim %{_bindir}/nvim
|
|
||||||
fi
|
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user