Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lua-cffi-lua for openSUSE:Factory 
checked in at 2026-01-29 17:46:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-cffi-lua (Old)
 and      /work/SRC/openSUSE:Factory/.lua-cffi-lua.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-cffi-lua"

Thu Jan 29 17:46:53 2026 rev:3 rq:1329807 version:0.2.3+git.1769216057.4c6197f

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-cffi-lua/lua-cffi-lua.changes        
2025-11-05 16:20:13.410918513 +0100
+++ /work/SRC/openSUSE:Factory/.lua-cffi-lua.new.1995/lua-cffi-lua.changes      
2026-01-29 17:49:25.632755856 +0100
@@ -1,0 +2,21 @@
+Sat Jan 24 12:41:30 UTC 2026 - Matej Cepl <[email protected]>
+
+- Update to version 0.2.3+git.1769216057.4c6197f:
+  * add 5.5 support
+- Remove lua55-build.patch, which is now superflouous.
+- Remove, now upstreamed, remove-bogus-luajit.patch.
+
+-------------------------------------------------------------------
+Fri Jan 23 22:14:09 UTC 2026 - Matej Cepl <[email protected]>
+
+- Update to version 0.2.3+git.1760984966.1a8c220:
+  * tests: remove bogus code making tests fail under luajit
+- Add lua55-build.patch fixing the implementation of __close
+  function (gh#q66/cffi-lua!64).
+
+-------------------------------------------------------------------
+Fri Jan 23 21:40:40 UTC 2026 - Matej Cepl <[email protected]>
+
+- Enable lua55 build.
+
+-------------------------------------------------------------------

Old:
----
  cffi-lua-0.2.3+git.1748465608.9f2acc9.tar.xz
  remove-bogus-luajit.patch

New:
----
  cffi-lua-0.2.3+git.1769216057.4c6197f.tar.xz

----------(Old B)----------
  Old:- Remove lua55-build.patch, which is now superflouous.
- Remove, now upstreamed, remove-bogus-luajit.patch.
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lua-cffi-lua.spec ++++++
--- /var/tmp/diff_new_pack.pRG7x4/_old  2026-01-29 17:49:26.344786059 +0100
+++ /var/tmp/diff_new_pack.pRG7x4/_new  2026-01-29 17:49:26.344786059 +0100
@@ -18,7 +18,20 @@
 
 %define flavor @BUILD_FLAVOR@
 %define mod_name cffi-lua
-Version:        0.2.3+git.1748465608.9f2acc9
+%bcond_with compat53
+%if "%{flavor}" == "lua53"
+%bcond_without compat53
+%endif
+%if "%{flavor}" == "lua54"
+%bcond_without compat53
+%endif
+%if "%{flavor}" == "lua55"
+%bcond_without compat53
+%endif
+%if "%{flavor}" == "luajit"
+%bcond_without compat53
+%endif
+Version:        0.2.3+git.1769216057.4c6197f
 Release:        0
 Summary:        A portable C FFI for Lua 5.1+
 License:        MIT
@@ -31,18 +44,17 @@
 # PATCH-FIX-UPSTREAM 
0002-docs-fixed-the-second-example-in-introduction.md.patch [email protected]
 # fix second typo in introduction.md
 Patch1:         0002-docs-fixed-the-second-example-in-introduction.md.patch
-# PATCH-FIX-UPSTREAM remove-bogus-luajit.patch gh#q66/cffi-lua#63 
[email protected]
-# fix tests for LuaJIT
-Patch2:         remove-bogus-luajit.patch
 BuildRequires:  %{flavor}-devel
-BuildRequires:  %{flavor}-compat-5.3
 BuildRequires:  lua-macros
 BuildRequires:  meson
 BuildRequires:  c++_compiler
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libffi)
 Requires:       %{flavor}
+%if %{with compat53}
+BuildRequires:  %{flavor}-compat-5.3
 Requires:      %{flavor}-compat-5.3
+%endif
 # gh#q66/cffi-lua#59
 ExcludeArch:    %{ix86} armv6l armv6hl armv7l armv7hl
 %lua_provides

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.pRG7x4/_old  2026-01-29 17:49:26.396788265 +0100
+++ /var/tmp/diff_new_pack.pRG7x4/_new  2026-01-29 17:49:26.400788435 +0100
@@ -1,5 +1,6 @@
 <multibuild>
 <package>lua53</package>
 <package>lua54</package>
+<package>lua55</package>
 </multibuild>
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.pRG7x4/_old  2026-01-29 17:49:26.428789622 +0100
+++ /var/tmp/diff_new_pack.pRG7x4/_new  2026-01-29 17:49:26.432789792 +0100
@@ -1,6 +1,6 @@
-mtime: 1761753567
-commit: fc39433055af11a26b001195686a4ceec5a7aabd062744f65907374ced62cf34
+mtime: 1769682575
+commit: d00418fb7d8cb24931368791ff4c8d47aeae6bf4012cd0b3188810aa2b0a3548
 url: https://src.opensuse.org/lua/lua-cffi-lua.git
-revision: fc39433055af11a26b001195686a4ceec5a7aabd062744f65907374ced62cf34
+revision: d00418fb7d8cb24931368791ff4c8d47aeae6bf4012cd0b3188810aa2b0a3548
 projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.pRG7x4/_old  2026-01-29 17:49:26.464791150 +0100
+++ /var/tmp/diff_new_pack.pRG7x4/_new  2026-01-29 17:49:26.468791320 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/q66/cffi-lua.git</param>
-              <param 
name="changesrevision">9f2acc9a2a0c8e59dda35c0e11333d1b66296667</param></service></servicedata>
+              <param 
name="changesrevision">4c6197fe40ce6fbd7ba0b7aadd2a9e9de824ef8e</param></service></servicedata>
 (No newline at EOF)
 

++++++ build.specials.obscpio ++++++
--- old/.gitignore      2025-10-29 17:00:02.000000000 +0100
+++ new/.gitignore      2026-01-29 11:29:53.000000000 +0100
@@ -3,5 +3,5 @@
 .assets/
 _buildconfig-*
 _buildinfo-*.xml
-lua-cffi-*-build/
+lua*-cffi-lua-*-build/
 cffi-lua/

++++++ 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      2026-01-29 11:29:53.000000000 +0100
@@ -0,0 +1,7 @@
+.osc
+_scmsync.obsinfo
+.assets/
+_buildconfig-*
+_buildinfo-*.xml
+lua*-cffi-lua-*-build/
+cffi-lua/

++++++ cffi-lua-0.2.3+git.1748465608.9f2acc9.tar.xz -> 
cffi-lua-0.2.3+git.1769216057.4c6197f.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cffi-lua-0.2.3+git.1748465608.9f2acc9/.github/workflows/build.yaml 
new/cffi-lua-0.2.3+git.1769216057.4c6197f/.github/workflows/build.yaml
--- old/cffi-lua-0.2.3+git.1748465608.9f2acc9/.github/workflows/build.yaml      
2025-05-28 22:53:28.000000000 +0200
+++ new/cffi-lua-0.2.3+git.1769216057.4c6197f/.github/workflows/build.yaml      
2026-01-24 01:54:17.000000000 +0100
@@ -9,7 +9,7 @@
 
     env:
       TARGET: '${{ matrix.config.target }}'
-      LUA_VERSIONS: '5.4.4 5.3.6 5.2.4 5.1.5'
+      LUA_VERSIONS: '5.5.0 5.4.4 5.3.6 5.2.4 5.1.5'
       CC: '${{ matrix.config.cc }}'
       BUILDTYPE: '${{ matrix.config.buildtype }}'
       SANITIZE: '${{ matrix.config.sanitize }}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cffi-lua-0.2.3+git.1748465608.9f2acc9/meson_options.txt 
new/cffi-lua-0.2.3+git.1769216057.4c6197f/meson_options.txt
--- old/cffi-lua-0.2.3+git.1748465608.9f2acc9/meson_options.txt 2025-05-28 
22:53:28.000000000 +0200
+++ new/cffi-lua-0.2.3+git.1769216057.4c6197f/meson_options.txt 2026-01-24 
01:54:17.000000000 +0100
@@ -1,6 +1,6 @@
 option('lua_version',
     type: 'combo',
-    choices: ['auto', 'luajit', 'custom', 'vendor', '5.1', '5.2', '5.3', 
'5.4'],
+    choices: ['auto', 'luajit', 'custom', 'vendor', '5.1', '5.2', '5.3', 
'5.4', '5.5'],
     description: 'The Lua version to use (custom == pass via CXXFLAGS/LDFLAGS)'
 )
 
@@ -50,4 +50,4 @@
     type: 'string',
     value: 'auto',
     description: 'Path to lua executable for tests'
-)
\ No newline at end of file
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cffi-lua-0.2.3+git.1748465608.9f2acc9/src/ffilib.cc 
new/cffi-lua-0.2.3+git.1769216057.4c6197f/src/ffilib.cc
--- old/cffi-lua-0.2.3+git.1748465608.9f2acc9/src/ffilib.cc     2025-05-28 
22:53:28.000000000 +0200
+++ new/cffi-lua-0.2.3+git.1769216057.4c6197f/src/ffilib.cc     2026-01-24 
01:54:17.000000000 +0100
@@ -891,7 +891,10 @@
         auto *cd = ffi::testcdata(L, 1);
         if (cd && metatype_check<ffi::METATYPE_FLAG_CLOSE>(L, 1)) {
             lua_insert(L, 1);
-            lua_call(L, 2, 0);
+            /* 5.5 caveat: the number of arguments is variable, with the
+             * error argument possibly not being passed at all
+             */
+            lua_call(L, lua_gettop(L) - 1, 0);
         }
         return 0;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cffi-lua-0.2.3+git.1748465608.9f2acc9/tests/runner.lua 
new/cffi-lua-0.2.3+git.1769216057.4c6197f/tests/runner.lua
--- old/cffi-lua-0.2.3+git.1748465608.9f2acc9/tests/runner.lua  2025-05-28 
22:53:28.000000000 +0200
+++ new/cffi-lua-0.2.3+git.1769216057.4c6197f/tests/runner.lua  2026-01-24 
01:54:17.000000000 +0100
@@ -48,12 +48,6 @@
     end
 end
 
--- set up luajit compatibility
-
-if jit then
-    package.preload["cffi"] = package.preload["ffi"]
-end
-
 -- test lib
 
 skip_test = function()

Reply via email to