From e66f27959659947f360c04b48185e65b86e7c68a3ecc20bcf10b2649ded6b238 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 9 Jul 2020 16:43:24 +0000 Subject: [PATCH] - Add lua54 as new build target and fix problems with compatibility with it. OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luv?expand=0&rev=21 --- lua-luv.changes | 3 ++- lua-luv.spec | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lua-luv.changes b/lua-luv.changes index 96729a6..2e5b92c 100644 --- a/lua-luv.changes +++ b/lua-luv.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- Mon Jul 6 19:06:47 UTC 2020 - Matej Cepl -- Add lua54 as new build target +- Add lua54 as new build target and fix problems with + compatibility with it. ------------------------------------------------------------------- Sun Apr 12 12:30:52 UTC 2020 - Matej Cepl diff --git a/lua-luv.spec b/lua-luv.spec index ef17d63..297f868 100644 --- a/lua-luv.spec +++ b/lua-luv.spec @@ -61,9 +61,7 @@ ExclusiveArch: do_not_build BuildRequires: %{flavor}-devel BuildRequires: %{flavor}-luafilesystem Requires: %{flavor} -%if "%{flavor}" == "lua51" BuildRequires: %{flavor}-compat-5.3 -%endif # not SUSE %else BuildRequires: lua-devel @@ -132,6 +130,7 @@ rm -fv tests/test-dns.lua -DBUILD_STATIC_LIBS=OFF -DCMAKE_INSTALL_DO_STRIP=OFF \ -DBUILD_MODULE=OFF -DBUILD_SHARED_LIBS=ON \ -DWITH_SHARED_LIBUV=ON -DWITH_LUA_ENGINE=Lua \ + -DLUA_INCLUDE_DIR:PATH="%{lua_incdir}" \ -DLUA_BUILD_TYPE=System -DLUA_COMPAT53_DIR="%{lua_incdir}/" ( cd build ; make ) %endif @@ -143,6 +142,7 @@ rm -fv tests/test-dns.lua -DBUILD_STATIC_LIBS=OFF -DCMAKE_INSTALL_DO_STRIP=OFF \ -DBUILD_MODULE=ON -DBUILD_SHARED_LIBS=ON \ -DWITH_SHARED_LIBUV=ON -DWITH_LUA_ENGINE=Lua \ + -DLUA_INCLUDE_DIR:PATH="%{lua_incdir}" \ -DLUA_BUILD_TYPE=System -DLUA_COMPAT53_DIR="%{lua_incdir}/" ( cd build ; make )