diff --git a/lua-5.3.0-configure-compat-module.patch b/lua-5.3.0-configure-compat-module.patch index 567a5fc..bd5d41d 100644 --- a/lua-5.3.0-configure-compat-module.patch +++ b/lua-5.3.0-configure-compat-module.patch @@ -1,7 +1,7 @@ diff -up lua-5.2.2/configure.ac.compat-module lua-5.2.2/configure.ac --- lua-5.2.2/configure.ac.compat-module 2013-05-10 10:16:05.344137597 -0400 +++ lua-5.2.2/configure.ac 2013-05-10 10:16:05.357137596 -0400 -@@ -11,6 +11,19 @@ AC_PROG_CC +@@ -11,6 +11,20 @@ AC_PROG_CC AC_PROG_LIBTOOL AC_ARG_WITH( @@ -13,7 +13,8 @@ diff -up lua-5.2.2/configure.ac.compat-module lua-5.2.2/configure.ac + +COMPAT_DEFS="#undef LUA_COMPAT_ALL" +if test "x$use_compat_module" == "xyes"; then -+ COMPAT_DEFS="#define LUA_COMPAT_5_1" ++ COMPAT_DEFS="#define LUA_COMPAT_5_1 ++#define LUA_COMPAT_5_2" +fi +AC_SUBST(COMPAT_DEFS) + diff --git a/lua.spec b/lua.spec index d526747..16e90fe 100644 --- a/lua.spec +++ b/lua.spec @@ -9,7 +9,7 @@ Name: lua Version: %{major_version}.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Powerful light-weight programming language Group: Development/Languages License: MIT @@ -159,6 +159,9 @@ popd %changelog +* Fri Mar 20 2015 Kalev Lember - 5.3.0-2 +- Define LUA_COMPAT_5_2 in addition to LUA_COMPAT_5_1 (#1204129) + * Thu Jan 15 2015 Tom Callaway - 5.3.0-1 - update to 5.3.0 - add bootstrapping glue