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
This commit is contained in:
parent
6b1251ee59
commit
0dcd311fdf
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 14:20:12 UTC 2024 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Run modern tests for >=1500
|
||||
- Use pkg-config instead of pkgconf
|
||||
- Provide nvim
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 16:02:45 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user