SHA256
1
0
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:
Martin Liška 2018-06-12 10:42:11 +00:00 committed by Git OBS Bridge
parent 10897a4d68
commit 5bc6f1d667
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -89,14 +89,10 @@ make %{?_smp_mflags}
%find_lang nvim
%post
%{_sbindir}/update-alternatives --install %{_bindir}/vim vim %{_bindir}/nvim 15
%desktop_database_post
%icon_theme_cache_post
%postun
if [ ! -e %{_bindir}/nvim ] ; then
%{_sbindir}/update-alternatives --remove vim %{_bindir}/nvim
fi
%desktop_database_postun
%icon_theme_cache_postun