From 17373b35b608b8c78594dc105550b94f7a211b29eb3d7e9cc357778b90f6d7df Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 8 Jun 2018 08:53:26 +0000 Subject: [PATCH 1/3] Accepting request 614942 from home:mvyskocil:branches:editors - Add a support for update-alternatives, so users can change their "vim" to neovim - Mark LICENSE file as %license OBS-URL: https://build.opensuse.org/request/show/614942 OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=26 --- neovim.changes | 7 +++++++ neovim.spec | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/neovim.changes b/neovim.changes index 15c08c6..9bda02a 100644 --- a/neovim.changes +++ b/neovim.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jun 7 13:25:23 UTC 2018 - michal.vyskocil@gmail.com + +- Add a support for update-alternatives, so users can change their + "vim" to neovim +- Mark LICENSE file as %license + ------------------------------------------------------------------- Fri May 25 07:37:55 UTC 2018 - mliska@suse.cz diff --git a/neovim.spec b/neovim.spec index f6dc059..503a5e7 100644 --- a/neovim.spec +++ b/neovim.spec @@ -89,15 +89,20 @@ 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 %files -%doc BACKERS.md CONTRIBUTING.md LICENSE README.md +%doc BACKERS.md CONTRIBUTING.md README.md +%license LICENSE %{_bindir}/nvim %{_datadir}/nvim/ %{_datadir}/applications/nvim.desktop From 10897a4d68234ffd616b4a027b638e9c8e3b742fcc1ddcc321f94b26db290509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Mon, 11 Jun 2018 09:54:50 +0000 Subject: [PATCH 2/3] Accepting request 615947 from home:gladiac:branches:editors Update to version 0.3.0 OBS-URL: https://build.opensuse.org/request/show/615947 OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=27 --- neovim-0.2.2.tar.gz | 3 --- neovim-0.3.0.tar.gz | 3 +++ neovim.changes | 5 +++++ neovim.spec | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) delete mode 100644 neovim-0.2.2.tar.gz create mode 100644 neovim-0.3.0.tar.gz diff --git a/neovim-0.2.2.tar.gz b/neovim-0.2.2.tar.gz deleted file mode 100644 index a125cb7..0000000 --- a/neovim-0.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a838ee07cc9a2ef8ade1b31a2a4f2d5e9339e244ade68e64556c1f4b40ccc5ed -size 8325879 diff --git a/neovim-0.3.0.tar.gz b/neovim-0.3.0.tar.gz new file mode 100644 index 0000000..7179a7f --- /dev/null +++ b/neovim-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7acb61b16d3f521907d99c486b7a9f1e505e8b2a18c9ef69a6d7f18f29f74b8 +size 8903630 diff --git a/neovim.changes b/neovim.changes index 9bda02a..7c7e012 100644 --- a/neovim.changes +++ b/neovim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 11 09:14:24 UTC 2018 - asn@cryptomilk.org + +- Update to version 0.3.0 + ------------------------------------------------------------------- Thu Jun 7 13:25:23 UTC 2018 - michal.vyskocil@gmail.com diff --git a/neovim.spec b/neovim.spec index 503a5e7..3a68291 100644 --- a/neovim.spec +++ b/neovim.spec @@ -17,7 +17,7 @@ Name: neovim -Version: 0.2.2 +Version: 0.3.0 Release: 0 Summary: Vim-fork focused on extensibility and agility License: Apache-2.0 AND Vim From 5bc6f1d66759c9763aea2ef66632e94494cd4f2ffe375d2cdfb8b18982a61b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Tue, 12 Jun 2018 10:42:11 +0000 Subject: [PATCH 3/3] - 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 --- neovim.changes | 7 +++++++ neovim.spec | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/neovim.changes b/neovim.changes index 7c7e012..b019171 100644 --- a/neovim.changes +++ b/neovim.changes @@ -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 diff --git a/neovim.spec b/neovim.spec index 3a68291..03cce53 100644 --- a/neovim.spec +++ b/neovim.spec @@ -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