Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lua-mpack for openSUSE:Factory checked in at 2025-11-05 16:18:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-mpack (Old) and /work/SRC/openSUSE:Factory/.lua-mpack.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua-mpack" Wed Nov 5 16:18:26 2025 rev:7 rq:1315188 version:1.0.13 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-mpack/lua-mpack.changes 2024-02-22 21:00:59.760603546 +0100 +++ /work/SRC/openSUSE:Factory/.lua-mpack.new.1980/lua-mpack.changes 2025-11-05 16:21:14.205473567 +0100 @@ -1,0 +2,24 @@ +Mon Oct 27 19:22:34 UTC 2025 - Matej Cepl <[email protected]> + +- Update to 1.0.13: + - fix: make the package build with Lua API < 5.2 + - support various lua executable formats +- Remove upstreamed patch: + - luajit-build.patch + +------------------------------------------------------------------- +Fri Oct 24 14:50:42 UTC 2025 - Matej Cepl <[email protected]> + +- Switch off building lua51 build of the package. + +------------------------------------------------------------------- +Mon Oct 13 13:21:48 UTC 2025 - Matej Cepl <[email protected]> + +- Make the package buildable with LuaJIT. +- Removed upstreamed patches: + - lua51-mpack-fix-compilation.patch + - lua51-mpack-fix-gcc7.patch +- Add luajit-build.patch to make the source compatible with Lua + API < 5.2 (gh#libmpack/libmpack-lua!34). + +------------------------------------------------------------------- Old: ---- 1.0.6.tar.gz lua51-mpack-fix-compilation.patch lua51-mpack-fix-gcc7.patch New: ---- _scmsync.obsinfo build.specials.obscpio mpack-1.0.13.tar.gz ----------(Old B)---------- Old:- Removed upstreamed patches: - lua51-mpack-fix-compilation.patch - lua51-mpack-fix-gcc7.patch Old: - lua51-mpack-fix-compilation.patch - lua51-mpack-fix-gcc7.patch - Add luajit-build.patch to make the source compatible with Lua ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-mpack.spec ++++++ --- /var/tmp/diff_new_pack.2uwAse/_old 2025-11-05 16:21:14.913503330 +0100 +++ /var/tmp/diff_new_pack.2uwAse/_new 2025-11-05 16:21:14.913503330 +0100 @@ -19,24 +19,19 @@ %define flavor @BUILD_FLAVOR@ %define libmpack_version 1.0.5 %define mod_name mpack -Version: 1.0.6 +Version: 1.0.13 Release: 0 Summary: Implementation of MessagePack for Lua 5.1 License: MIT Group: Development/Libraries/Other URL: https://github.com/libmpack/libmpack-lua -Source: https://github.com/libmpack/libmpack-lua/archive/%{version}.tar.gz -# libmpack source is necessary to build lua-mpack, next release should build -# fine against system version -# The latest source can be downloaded from: https://github.com/libmpack/libmpack -Source1: https://github.com/libmpack/libmpack/archive/%{libmpack_version}/libmpack-%{libmpack_version}.tar.gz -# PATCH-FIX-UPSTREAM lua51-mpack-fix-gcc7.patch gh#libmpack/libmpack-lua#3 -- Fix compilation error when using GCC7. -Patch0: lua51-mpack-fix-gcc7.patch -# PATCH-FIX-UPSTREAM lua51-mpack-fix-compilation.patch gh#libmpack/libmpack-lua#2 -- Fix compilation error when using `USE_SYSTEM_LUA=1`. -Patch1: lua51-mpack-fix-compilation.patch +Source: https://github.com/libmpack/libmpack-lua/archive/refs/tags/%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz +# libmpack source is necessary to build lua-mpack, need to package mpack to Factory +Source1: https://github.com/libmpack/libmpack/archive/refs/tags/%{libmpack_version}.tar.gz#/libmpack-%{libmpack_version}.tar.gz BuildRequires: %{flavor}-devel BuildRequires: gcc BuildRequires: libtool +BuildRequires: pkgconfig BuildRequires: lua-macros Requires: %{flavor} %lua_provides @@ -54,12 +49,8 @@ %prep %autosetup -p1 -n libmpack-lua-%{version} -# Extract the libmpack source to the right directory. -mkdir -p mpack-src -pushd mpack-src -cp %{SOURCE1} ./ -tar --strip-components=1 -xzf libmpack-%{libmpack_version}.tar.gz -popd +( mkdir -p "mpack-src" && cd "mpack-src" +tar --extract --strip-components=1 --file %{SOURCE1} ) # Fix lua directory. sed -i 's|LUA_CMOD_INSTALLDIR :=.*|LUA_CMOD_INSTALLDIR := $(shell echo "%{lua_archdir}")|g' Makefile @@ -67,14 +58,15 @@ %build make %{?_make_output_sync} %{?_smp_mflags} \ USE_SYSTEM_LUA=yes \ - MPACK_LUA_VERSION=%{lua_version} \ - CFLAGS="%{optflags} -fPIC" + USE_SYSTEM_MPACK=no \ + LUA_IMPL="lua" \ + CFLAGS="%{optflags} -fPIC %(pkgconf --cflags --libs lua)" %install -%make_install USE_SYSTEM_LUA=yes +%make_install USE_SYSTEM_LUA=yes \ + LUA_CMOD_INSTALLDIR="%{lua_archdir}" %files %doc mpack-src/LICENSE-MIT README.md -%dir %{lua_archdir} -%{lua_archdir}/* +%{lua_archdir}/mpack.so ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.2uwAse/_old 2025-11-05 16:21:14.953505012 +0100 +++ /var/tmp/diff_new_pack.2uwAse/_new 2025-11-05 16:21:14.957505180 +0100 @@ -1,5 +1,5 @@ <multibuild> -<package>lua51</package> +<package>luajit</package> <package>lua53</package> <package>lua54</package> </multibuild> ++++++ _scmsync.obsinfo ++++++ mtime: 1761593012 commit: f2a6396c0fa4c97eef5e499d4bb01e282a11e727df08ae5be65753c9f57af1df url: https://src.opensuse.org/lua/lua-mpack.git revision: f2a6396c0fa4c97eef5e499d4bb01e282a11e727df08ae5be65753c9f57af1df projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2025-10-27 20:23:55.000000000 +0100 @@ -0,0 +1,6 @@ +.osc +*.obscpio +*.osc +_build.* +.pbuild +lua*-mpack-*-build/
