diff --git a/lua-build-system.patch b/lua-build-system.patch index 19bc210..2072d8f 100644 --- a/lua-build-system.patch +++ b/lua-build-system.patch @@ -146,3 +146,16 @@ Index: lua-5.3.4/src/Makefile clean: $(RM) $(ALL_T) $(ALL_O) +Index: lua-5.3.4/src/luaconf.h +=================================================================== +--- lua-5.3.4.orig/src/luaconf.h ++++ lua-5.3.4/src/luaconf.h +@@ -200,7 +200,7 @@ + + #else /* }{ */ + +-#define LUA_ROOT "/usr/local/" ++#define LUA_ROOT "/usr/" + #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/" + #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/" + #define LUA_PATH_DEFAULT \ diff --git a/lua53.spec b/lua53.spec index e189639..34def04 100644 --- a/lua53.spec +++ b/lua53.spec @@ -68,6 +68,9 @@ application. %package -n %{libname} Summary: The Lua integration library Group: System/Libraries +# Compat as libtool changes the soname +Provides: liblua5_3 = %{version} +Obsoletes: liblua5_3 < %{version} Provides: %{name}-libs = %{version} Obsoletes: %{name}-libs < %{version}