Hello community, here is the log from the commit of package lua for openSUSE:Factory checked in at 2015-07-23 15:21:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua (Old) and /work/SRC/openSUSE:Factory/.lua.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua" Changes: -------- --- /work/SRC/openSUSE:Factory/lua/lua.changes 2015-03-18 12:59:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lua.new/lua.changes 2015-07-23 15:21:26.000000000 +0200 @@ -1,0 +2,17 @@ +Mon Jul 13 16:33:31 UTC 2015 - [email protected] + +- macros.lua installs to lua-devel +- build with LUA_COMPAT_MODULE to compatible w/ old module system + +------------------------------------------------------------------- +Fri Jul 10 09:52:48 UTC 2015 - [email protected] + +- update version 5.3.1 + * integers (64-bit by default) + * official support for 32-bit numbers + * bitwise operators + * basic utf-8 support + * functions for packing and unpacking values + * see http://www.lua.org/manual/5.3/readme.html#changes + +------------------------------------------------------------------- Old: ---- lua-5.2.4.tar.gz New: ---- lua-5.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua.spec ++++++ --- /var/tmp/diff_new_pack.qr4PH0/_old 2015-07-23 15:21:26.000000000 +0200 +++ /var/tmp/diff_new_pack.qr4PH0/_new 2015-07-23 15:21:26.000000000 +0200 @@ -16,10 +16,10 @@ # -%define major_version 5.2 -%define libsuf 5_2 +%define major_version 5.3 +%define libsuf 5_3 Name: lua -Version: 5.2.4 +Version: 5.3.1 Release: 0 Summary: Small Embeddable Language with Simple Procedural Syntax License: MIT @@ -33,7 +33,7 @@ # luaU_dump, luaP_opmodes and luaP_opnames need to be visible # to luac; if you will divert, don't forgot that LUAI_DDEC # prefixes declaration of _variables_ -Patch0: %{name}-suse.diff +Patch: %{name}-suse.diff BuildRequires: pkg-config BuildRequires: readline-devel BuildRequires: update-alternatives @@ -58,8 +58,9 @@ Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: liblua%{libsuf} = %{version} -Conflicts: lua50-devel +Conflicts: lua52-devel Conflicts: lua51-devel +Conflicts: lua50-devel %description devel Lua is a programming language originally designed for extending @@ -110,11 +111,11 @@ %prep %setup -q -%patch0 -p1 +%patch -p1 %build sed -i -e "s@lib/lua/@%{_lib}/lua/@g" src/luaconf.h -make %{?_smp_mflags} -C src CC="gcc" MYCFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all +make %{?_smp_mflags} -C src CC="gcc" MYCFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE -fPIC -DLUA_USE_LINUX -DLUA_COMPAT_MODULE" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all %install make install INSTALL_TOP="%{buildroot}%{_prefix}" INSTALL_LIB="%{buildroot}%{_libdir}" INSTALL_CMOD=%{buildroot}%{_libdir}/lua/%{major_version} INSTALL_MAN="%{buildroot}%{_mandir}/man1" @@ -184,7 +185,6 @@ %ghost %{_sysconfdir}/alternatives/luac %ghost %{_sysconfdir}/alternatives/lua.1.gz %ghost %{_sysconfdir}/alternatives/luac.1.gz -%{_sysconfdir}/rpm/macros.lua %files -n liblua%{libsuf} %defattr(-,root,root) @@ -192,6 +192,7 @@ %files devel %defattr(-,root,root) +%config %{_sysconfdir}/rpm/macros.lua %{_includedir}/lauxlib.h %{_includedir}/lua.h %{_includedir}/lua.hpp ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.qr4PH0/_old 2015-07-23 15:21:26.000000000 +0200 +++ /var/tmp/diff_new_pack.qr4PH0/_new 2015-07-23 15:21:26.000000000 +0200 @@ -1 +1 @@ -liblua5_2 +liblua5_3 ++++++ lua-5.2.4.tar.gz -> lua-5.3.1.tar.gz ++++++ ++++ 26267 lines of diff (skipped) ++++++ lua-suse.diff ++++++ --- /var/tmp/diff_new_pack.qr4PH0/_old 2015-07-23 15:21:26.000000000 +0200 +++ /var/tmp/diff_new_pack.qr4PH0/_new 2015-07-23 15:21:26.000000000 +0200 @@ -1,8 +1,8 @@ -Index: lua-5.2.4/Makefile +Index: lua-5.3.1/Makefile =================================================================== ---- lua-5.2.4.orig/Makefile -+++ lua-5.2.4/Makefile -@@ -41,7 +41,7 @@ PLATS= aix ansi bsd freebsd generic linu +--- lua-5.3.1.orig/Makefile ++++ lua-5.3.1/Makefile +@@ -41,7 +41,7 @@ PLATS= aix bsd c89 freebsd generic linux # What to install. TO_BIN= lua luac TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp @@ -19,12 +19,12 @@ cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB) cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN) -Index: lua-5.2.4/src/Makefile +Index: lua-5.3.1/src/Makefile =================================================================== ---- lua-5.2.4.orig/src/Makefile -+++ lua-5.2.4/src/Makefile +--- lua-5.3.1.orig/src/Makefile ++++ lua-5.3.1/src/Makefile @@ -29,6 +29,7 @@ MYOBJS= - PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris + PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris LUA_A= liblua.a +LUA_SO= liblua.so @@ -36,11 +36,11 @@ ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O) -ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) -+ALL_T= $(LUA_SO) $(LUA_A) $(LUA_T) $(LUAC_T) ++ALL_T= $(LUA_SO) $(LUA_A) $(LUA_T) $(LUAC_T) ALL_A= $(LUA_A) # Targets start here. -@@ -55,21 +56,26 @@ o: $(ALL_O) +@@ -55,21 +56,27 @@ o: $(ALL_O) a: $(ALL_A) @@ -49,6 +49,7 @@ + $(CC) $(MYCFLAGS) -o $(LUA_SO).$V -shared -Wl,-soname,$(LUA_SO).$V $(CORE_O) $(LIB_O) -lm -ldl + ln -fs $(LUA_SO).$(V) $(LUA_SO) + ++ $(LUA_A): $(BASE_O) $(AR) $@ $(BASE_O) $(RANLIB) $@ @@ -72,37 +73,11 @@ echo: @echo "PLAT= $(PLAT)" -Index: lua-5.2.4/src/luaconf.h -=================================================================== ---- lua-5.2.4.orig/src/luaconf.h -+++ lua-5.2.4/src/luaconf.h -@@ -100,7 +100,7 @@ - #else /* }{ */ - - #define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/" --#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 \ -Index: lua-5.2.4/src/lundump.h +Index: lua-5.3.1/src/lopcodes.h =================================================================== ---- lua-5.2.4.orig/src/lundump.h -+++ lua-5.2.4/src/lundump.h -@@ -17,7 +17,7 @@ LUAI_FUNC Closure* luaU_undump (lua_Stat - LUAI_FUNC void luaU_header (lu_byte* h); - - /* dump one chunk; from ldump.c */ --LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); -+LUA_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); - - /* data to catch conversion errors */ - #define LUAC_TAIL "\x19\x93\r\n\x1a\n" -Index: lua-5.2.4/src/lopcodes.h -=================================================================== ---- lua-5.2.4.orig/src/lopcodes.h -+++ lua-5.2.4/src/lopcodes.h -@@ -269,7 +269,7 @@ enum OpArgMask { +--- lua-5.3.1.orig/src/lopcodes.h ++++ lua-5.3.1/src/lopcodes.h +@@ -276,7 +276,7 @@ enum OpArgMask { OpArgK /* argument is a constant or register/constant */ }; @@ -111,12 +86,39 @@ #define getOpMode(m) (cast(enum OpMode, luaP_opmodes[m] & 3)) #define getBMode(m) (cast(enum OpArgMask, (luaP_opmodes[m] >> 4) & 3)) -@@ -278,7 +278,7 @@ LUAI_DDEC const lu_byte luaP_opmodes[NUM +@@ -285,8 +285,7 @@ LUAI_DDEC const lu_byte luaP_opmodes[NUM #define testTMode(m) (luaP_opmodes[m] & (1 << 7)) -LUAI_DDEC const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */ +- +LUA_API const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */ - /* number of list items to accumulate before a SETLIST instruction */ + #define LFIELDS_PER_FLUSH 50 +Index: lua-5.3.1/src/luaconf.h +=================================================================== +--- lua-5.3.1.orig/src/luaconf.h ++++ lua-5.3.1/src/luaconf.h +@@ -188,7 +188,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 \ +Index: lua-5.3.1/src/lundump.h +=================================================================== +--- lua-5.3.1.orig/src/lundump.h ++++ lua-5.3.1/src/lundump.h +@@ -27,7 +27,6 @@ LUAI_FUNC LClosure* luaU_undump (lua_Sta + const char* name); + + /* dump one chunk; from ldump.c */ +-LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, +- void* data, int strip); ++LUA_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); + + #endif
