Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lua-shell-games for openSUSE:Factory 
checked in at 2025-11-06 18:13:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-shell-games (Old)
 and      /work/SRC/openSUSE:Factory/.lua-shell-games.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-shell-games"

Thu Nov  6 18:13:06 2025 rev:3 rq:1315192 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-shell-games/lua-shell-games.changes  
2023-01-25 17:50:41.158468477 +0100
+++ 
/work/SRC/openSUSE:Factory/.lua-shell-games.new.1980/lua-shell-games.changes    
    2025-11-06 18:14:35.754947328 +0100
@@ -1,0 +2,11 @@
+Fri Oct 24 14:51:00 UTC 2025 - Matej Cepl <[email protected]>
+
+- Switch off building lua51 build of the package.
+
+-------------------------------------------------------------------
+Sun Oct 12 21:51:09 UTC 2025 - Matej Cepl <[email protected]>
+
+- Make the package buildable with LuaJIT.
+- Add luajit-w-capture_combined_spec-with-new-shell.patch
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  luajit-w-capture_combined_spec-with-new-shell.patch

----------(New B)----------
  New:- Make the package buildable with LuaJIT.
- Add luajit-w-capture_combined_spec-with-new-shell.patch
----------(New E)----------

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

Other differences:
------------------
++++++ lua-shell-games.spec ++++++
--- /var/tmp/diff_new_pack.WFmDqM/_old  2025-11-06 18:14:36.386973992 +0100
+++ /var/tmp/diff_new_pack.WFmDqM/_new  2025-11-06 18:14:36.390974161 +0100
@@ -25,7 +25,10 @@
 Group:          Development/Libraries/Other
 URL:            https://github.com/GUI/lua-shell-games
 Source:         
https://github.com/GUI/lua-shell-games/archive/v%{version}.tar.gz#/lua-%{mod_name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Fix-capture_combined_spec-with-new-shell.patch 
[email protected]
 Patch1:         Fix-capture_combined_spec-with-new-shell.patch
+# PATCH-FIX-UPSTREAM luajit-w-capture_combined_spec-with-new-shell.patch 
gh#GUI/lua-shell-games!5 [email protected]
+Patch2:         luajit-w-capture_combined_spec-with-new-shell.patch
 BuildRequires:  %{flavor}-busted
 BuildRequires:  %{flavor}-devel
 BuildRequires:  %{flavor}-luacheck
@@ -57,6 +60,7 @@
 %autosetup -p1 -n lua-%{mod_name}-%{version}
 
 %build
+:
 
 %install
 install -m 0755 -p -d %{buildroot}%{lua_noarchdir}
@@ -64,10 +68,14 @@
 
 %check
 ln -sfv lib/%{mod_name}.lua .
-%if "%{flavor}" == "lua51"
-REFUTE_LUA52_BEHAVIOR=true \
+%if "%{flavor}" == "luajit"
+export REFUTE_LUA52_BEHAVIOR="true"
 %endif
-EXPECTED_LUA_VERSION="Lua %{lua_version}" make %{?_make_output_sync} 
%{?_smp_mflags} test
+%if "%{flavor}" == "luajit"
+export EXPECTED_LUAJIT_VERSION="LuaJIT 2.1"
+%endif
+export EXPECTED_LUA_VERSION="Lua %{lua_version}"
+busted --lua="/usr/bin/lua"
 
 %files
 %license LICENSE.txt

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.WFmDqM/_old  2025-11-06 18:14:36.434976017 +0100
+++ /var/tmp/diff_new_pack.WFmDqM/_new  2025-11-06 18:14:36.442976355 +0100
@@ -1,5 +1,5 @@
 <multibuild>
-<package>lua51</package>
+<package>luajit</package>
 <package>lua53</package>
 <package>lua54</package>
 </multibuild>

++++++ _scmsync.obsinfo ++++++
mtime: 1761318786
commit: b443b8da2b3fdfe892ee8dc7e77920be3db341381d2046eb3a9d3c107c210342
url: https://src.opensuse.org/lua/lua-shell-games.git
revision: b443b8da2b3fdfe892ee8dc7e77920be3db341381d2046eb3a9d3c107c210342
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-24 17:13:30.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ luajit-w-capture_combined_spec-with-new-shell.patch ++++++
---
 spec/capture_combined_spec.lua |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: lua-shell-games-1.1.0/spec/capture_combined_spec.lua
===================================================================
--- lua-shell-games-1.1.0.orig/spec/capture_combined_spec.lua   2025-10-12 
23:42:07.932450126 +0200
+++ lua-shell-games-1.1.0/spec/capture_combined_spec.lua        2025-10-12 
23:45:53.594608925 +0200
@@ -77,10 +77,10 @@
     if string.match(result["output"], "cd: line 1") then
       assert.are.same({
         command = [[sh -c 'cd '"'"'spec/tmp/not existent with spaces'"'"' && 
ls -1 chdir.txt' 2>&1]],
-        status = 2,
-        output = "sh: cd: line 1: can't cd to spec/tmp/not existent with 
spaces: No such file or directory\n",
+        status = 1,
+        output = "sh: line 1: cd: spec/tmp/not existent with spaces: No such 
file or directory\n",
       }, result)
-      assert.are.equal("Executing command failed (exit code 2): sh -c 'cd 
'\"'\"'spec/tmp/not existent with spaces'\"'\"' && ls -1 chdir.txt' 
2>&1\nOutput: sh: cd: line 1: can't cd to spec/tmp/not existent with spaces: No 
such file or directory\n", err)
+     assert.are.equal("Executing command failed (exit code 1): sh -c 'cd 
'\"'\" 'spec/tmp/not existent with spaces'\"'\"' && ls -1 chdir.txt' 
2>&1\nOutput: sh: line 1: cd: spec/tmp/not existent with spaces: No such file 
or directory\n", err)
     elseif string.match(result["output"], "sh: line 1") then
       assert.are.same({
         command = [[sh -c 'cd '"'"'spec/tmp/not existent with spaces'"'"' && 
ls -1 chdir.txt' 2>&1]],

Reply via email to