[packages/neovim] use lua51 instead of luajit, to build also for x32

glen glen at pld-linux.org
Sun Sep 18 09:33:48 CEST 2016


commit 2d2f06ed2c75a76e8faed1034cc9c963090bba2b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Sep 18 10:32:46 2016 +0300

    use lua51 instead of luajit, to build also for x32
    
    lua does not seem to be used run time, but it's used to generate some
    source code and run tests.

 neovim.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/neovim.spec b/neovim.spec
index 5598c45..bf5817f 100644
--- a/neovim.spec
+++ b/neovim.spec
@@ -28,9 +28,10 @@ BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.596
 BuildRequires:	unibilium-devel
 %if %{with lua}
+BuildRequires:	lua-bitop >= 1.0.2
 BuildRequires:	lua-lpeg
 BuildRequires:	lua-mpack >= 1.0.2
-BuildRequires:	luajit
+BuildRequires:	lua51
 %endif
 Requires:	desktop-file-utils
 Requires:	gtk-update-icon-cache
@@ -77,7 +78,7 @@ cd .deps
 
 cd ../build
 %cmake \
-	-DLUA_PRG=/usr/bin/luajit \
+	-DLUA_PRG=/usr/bin/lua5.1 \
 	-DENABLE_JEMALLOC=ON \
 	-DLUAJIT_USE_BUNDLED=OFF \
 	-DLIBUV_USE_BUNDLED=OFF \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/neovim.git/commitdiff/2d2f06ed2c75a76e8faed1034cc9c963090bba2b



More information about the pld-cvs-commit mailing list