From 73600c0518b818edb92470247c732ad46bb49137 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Wed, 30 Jun 2021 10:44:35 +0300 Subject: [PATCH 1/2] Bump the Lua minimum version to 5.3. The 986be669fb037ae0e2049a2022c4fdfa05da6747 commit introduced a use of lua_rotate(), which is not available in Lua 5.2. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 709cd76fde..e601d788df 100644 --- a/configure.ac +++ b/configure.ac @@ -746,7 +746,7 @@ AC_SUBST(WITH_ACL_LIB) AM_CONDITIONAL(ACL,[test "$with_acl" = yes]) PKG_CHECK_MODULES([LUA], - [lua >= 5.2], + [lua >= 5.3], [], [AC_MSG_ERROR([lua not present or too old)])]) AC_SUBST(LUA_CFLAGS) From 5c8b3e10b9a4ff13772ba6b53f4ba4d8e1e60e6d Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Thu, 5 Aug 2021 18:32:04 +0300 Subject: [PATCH 2/2] Reflect the Lua 5.3 requirement in the INSTALL file. --- INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 1ddbb4c235..8715c5df7f 100644 --- a/INSTALL +++ b/INSTALL @@ -9,7 +9,7 @@ The debugedit >= 0.3 tools for producing debuginfo sub-packages. It is available from https://sourceware.org/debugedit/ -Lua >= 5.2 library + development environment. +Lua >= 5.3 library + development environment. Note that only the library is needed at runtime, RPM never calls external Lua interpreter for anything. Lua is available from http://www.lua.org