Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lua-cjson for openSUSE:Factory 
checked in at 2026-03-03 15:30:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-cjson (Old)
 and      /work/SRC/openSUSE:Factory/.lua-cjson.new.29461 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-cjson"

Tue Mar  3 15:30:27 2026 rev:5 rq:1335532 version:2.1.0.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-cjson/lua-cjson.changes      2025-11-05 
16:20:15.355000147 +0100
+++ /work/SRC/openSUSE:Factory/.lua-cjson.new.29461/lua-cjson.changes   
2026-03-03 15:30:41.280442749 +0100
@@ -1,0 +2,14 @@
+Wed Jan 28 14:03:05 UTC 2026 - Matej Cepl <[email protected]>
+
+- Upgrade to 2.1.0.16:
+  - bugfix: fix truncation of decoded numbers outside lua_Integer's range 
(#116)
+- Upgrade to 2.1.0.15:
+  - gugfix: fixed Makefile.
+- Rewritten %check section
+
+-------------------------------------------------------------------
+Fri Jan 23 21:40:36 UTC 2026 - Matej Cepl <[email protected]>
+
+- Enable lua55 build.
+
+-------------------------------------------------------------------

Old:
----
  2.1.0.14.tar.gz

New:
----
  lua-cjson-2.1.0.16.tar.gz

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

Other differences:
------------------
++++++ lua-cjson.spec ++++++
--- /var/tmp/diff_new_pack.1CQwbw/_old  2026-03-03 15:30:42.976512694 +0100
+++ /var/tmp/diff_new_pack.1CQwbw/_new  2026-03-03 15:30:42.976512694 +0100
@@ -18,12 +18,12 @@
 
 %define flavor @BUILD_FLAVOR@
 %define mod_name cjson
-Version:        2.1.0.14
+Version:        2.1.0.16
 Release:        0
 Summary:        Lua JSON Encoding/Decoding
 License:        MIT
 URL:            https://github.com/openresty/lua-cjson
-Source:         
https://github.com/openresty/lua-cjson/archive/refs/tags/%{version}.tar.gz
+Source:         
https://github.com/openresty/lua-%{mod_name}/archive/refs/tags/%{version}.tar.gz#/lua-%{mod_name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM test_environment.patch gh#mpx/lua-cjson#75 [email protected]
 # Make it possible for tests to be influenced by the variables
 Patch0:         test_environment.patch
@@ -34,6 +34,7 @@
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
+BuildRequires:  perl
 %lua_provides
 %if "%{flavor}" == ""
 Name:           lua-%{mod_name}
@@ -59,10 +60,7 @@
     -DLUA_INCLUDE_DIR:PATH="%{lua_incdir}"
 find ..
 
-make %{?_make_output_sync} %{?_smp_mflags} \
-    CC="gcc" \
-    PREFIX="%{_prefix}" \
-    LUA_INCLUDE_DIR=%{lua_incdir}
+%cmake_build
 
 %install
 mkdir -p -m 755 \
@@ -73,9 +71,17 @@
 
 %check
 rm -rf build
-export CFLAGS="%{optflags}" PREFIX="%{_prefix}" SKIP_CMAKE=1 \
-    LUA_INCLUDE_DIR="%{lua_incdir}" LUA_CMODULE_DIR="%{lua_archdir}" 
LUA_MODULE_DIR="%{lua_noarchdir}"
-./runtests.sh
+export LUA_CPATH="%{buildroot}%{lua_archdir}/?.so;;"
+export 
LUA_PATH="%{buildroot}%{lua_noarchdir}/?.lua;%{buildroot}%{lua_noarchdir}/?/init.lua;;"
+# gh#openresty/lua-cjson#120
+export SKIP_TESTS="encode_keep_buffer"
+( cd tests
+perl ./genutf8.pl
+lua -e 'print("Testing Lua CJSON version " .. require("cjson")._VERSION)'
+# We have GNU/grep, so we don’t have to work around Solaris/grep limitations
+./test.lua 2>/dev/null | grep -Ev "$SKIP_TESTS" \
+    | grep -E -A 3 'FAIL|Summary' | grep -v 'PASS' | cut -c -150
+)
 
 %files
 %{lua_archdir}/cjson.so

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.1CQwbw/_old  2026-03-03 15:30:43.028514838 +0100
+++ /var/tmp/diff_new_pack.1CQwbw/_new  2026-03-03 15:30:43.032515003 +0100
@@ -2,5 +2,6 @@
 <package>luajit</package>
 <package>lua53</package>
 <package>lua54</package>
+<package>lua55</package>
 </multibuild>
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.1CQwbw/_old  2026-03-03 15:30:43.060516158 +0100
+++ /var/tmp/diff_new_pack.1CQwbw/_new  2026-03-03 15:30:43.068516488 +0100
@@ -1,6 +1,6 @@
-mtime: 1761317238
-commit: 42a528c2c2404bb7669e1892333d221e296307551ebd483de1299bc3bdc9cafc
+mtime: 1769710499
+commit: 0c58574e07d77c806deded4e69367d9e30768fb0780d6f20f46fd1a559bd9ff2
 url: https://src.opensuse.org/lua/lua-cjson.git
-revision: 42a528c2c2404bb7669e1892333d221e296307551ebd483de1299bc3bdc9cafc
+revision: 0c58574e07d77c806deded4e69367d9e30768fb0780d6f20f46fd1a559bd9ff2
 projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++

++++++ 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 19:15:30.000000000 +0100
@@ -0,0 +1,5 @@
+.osc
+_scmsync.obsinfo
+_buildconfig-*
+_buildinfo-*.xml
+lua*-cjson-*-build/

Reply via email to