summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Pentchev <roam@ringlet.net>2021-08-06 09:54:21 +0300
committerPanu Matilainen <pmatilai@redhat.com>2021-08-20 11:44:09 +0300
commit5250436e5245627b51b872806df841f4d70b59c2 (patch)
tree8292d7117c69f29d3d381a810bad5d729d7c68db
parent8ecefde5777350ef09ad14a5ce3e77ef096720aa (diff)
downloadrpm-5250436e5245627b51b872806df841f4d70b59c2.tar.gz
Bump the Lua minimum version to 5.3. (#1738)
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, unintentionally causing a dependency on 5.3. Rather than work around it, just bump the requirement to 5.3, it's almost seven years old by now... (cherry picked from commit 24b6c4542367aa251007497eb5595df24835d91b)
-rw-r--r--INSTALL2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 1ddbb4c23..8715c5df7 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
diff --git a/configure.ac b/configure.ac
index eb7d6941b..7190a0b1d 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)