Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package neovim for openSUSE:Factory checked in at 2022-11-23 09:48:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/neovim (Old) and /work/SRC/openSUSE:Factory/.neovim.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "neovim" Wed Nov 23 09:48:07 2022 rev:46 rq:1037365 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/neovim/neovim.changes 2022-10-04 20:37:40.800912394 +0200 +++ /work/SRC/openSUSE:Factory/.neovim.new.1597/neovim.changes 2022-11-23 09:48:32.735178938 +0100 @@ -1,0 +2,5 @@ +Tue Nov 22 16:18:43 UTC 2022 - Andreas Schwab <sch...@suse.de> + +- Fix build without luajit + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ neovim.spec ++++++ --- /var/tmp/diff_new_pack.8CTLaq/_old 2022-11-23 09:48:33.327182027 +0100 +++ /var/tmp/diff_new_pack.8CTLaq/_new 2022-11-23 09:48:33.331182048 +0100 @@ -73,6 +73,7 @@ %if %{with luajit} BuildRequires: luajit-devel %else +BuildRequires: lua51-BitOp BuildRequires: lua51-devel %endif # luajit implements version 5.1 of the lua language spec, so it needs the @@ -132,7 +133,9 @@ %{__cmake} .. -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DPREFER_LUA=%{?with_luajit:OFF}%{!?with_luajit:ON} \ -DLUA_PRG=%{_bindir}/%{?with_luajit:luajit}%{!?with_luajit:lua} \ +%if %{with luajit} -DBUSTED_PRG="$(readlink -f ../lj-busted.sh)" \ +%endif -DUSE_BUNDLED=OFF -DLUAJIT_USE_BUNDLED=ON \ -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON \ -DUSE_BUNDLED=OFF -DLUAJIT_USE_BUNDLED=OFF \ @@ -176,6 +179,8 @@ export NO_BRP_CHECK_RPATH=true %check +# Unit tests require the ffi module which is only available with luajit +%if %{with luajit} # Tests fail on aarch64 gh#neovim/neovim#18176 %ifnarch aarch64 # set vars to make build reproducible in spite of config/CMakeLists.txt @@ -185,6 +190,7 @@ %make_build BUSTED_PRG=$(readlink -f ../lj-busted.sh) unittest popd %endif +%endif %if 0%{?suse_version} < 1330 %post