From 0dcd311fdf91eebfed2a11d43035dbc0c3a99a31826628a2a1d9911a6bbb0cd6 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 12 Mar 2024 13:31:47 +0000 Subject: [PATCH] Accepting request 1157022 from home:dheidler:branches:editors - Run modern tests for >=1500 - Use pkg-config instead of pkgconf - Provide nvim OBS-URL: https://build.opensuse.org/request/show/1157022 OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=145 --- neovim.changes | 7 +++++++ neovim.spec | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/neovim.changes b/neovim.changes index 957b24f..28390d2 100644 --- a/neovim.changes +++ b/neovim.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 11 14:20:12 UTC 2024 - Dominik Heidler + +- Run modern tests for >=1500 +- Use pkg-config instead of pkgconf +- Provide nvim + ------------------------------------------------------------------- Tue Feb 27 16:02:45 UTC 2024 - Lubos Kocman diff --git a/neovim.spec b/neovim.spec index 75afc85..7971813 100644 --- a/neovim.spec +++ b/neovim.spec @@ -108,7 +108,7 @@ Requires(post): gtk3-tools Requires(postun): gtk3-tools %endif %endif -%if 0%{?suse_version} > 1500 +%if 0%{?suse_version} >= 1500 # Modern *SUSE … tests are enabled # For tests BuildRequires: lua51-busted @@ -132,6 +132,7 @@ BuildRequires: luajit-devel Requires: lua-bit32 Requires: python34-neovim %endif +Provides: nvim %description Neovim is a refactor - and sometimes redactor - in the tradition of @@ -171,7 +172,7 @@ export CXXFLAGS="%{optflags} -fcommon" -DLUA_PRG=%{_bindir}/%{?with_luajit:luajit}%{!?with_luajit:lua} \ %if %{with luajit} -DBUSTED_PRG="$(readlink -f ../lj-busted.sh)" \ - -DLUAJIT_INCLUDE_DIR:PATH=%(pkgconf --cflags-only-I luajit|cut -c 3-) \ + -DLUAJIT_INCLUDE_DIR:PATH=%(pkg-config --cflags-only-I luajit|cut -c 3-) \ %endif -DUSE_BUNDLED=OFF -DLUAJIT_USE_BUNDLED=ON \ -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON \