Hello community,

here is the log from the commit of package lua-penlight for openSUSE:Factory 
checked in at 2020-07-15 14:54:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-penlight (Old)
 and      /work/SRC/openSUSE:Factory/.lua-penlight.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-penlight"

Wed Jul 15 14:54:43 2020 rev:2 rq:819286 version:1.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-penlight/lua-penlight.changes        
2020-04-08 19:55:00.705050111 +0200
+++ /work/SRC/openSUSE:Factory/.lua-penlight.new.3060/lua-penlight.changes      
2020-07-15 14:54:50.166805539 +0200
@@ -1,0 +2,11 @@
+Tue Jul  7 20:02:42 UTC 2020 - Matej Cepl <[email protected]>
+
+- Add lua54.patch adding compatiblity with Lua 5.4
+  (gh#Tieske/Penlight#320)
+
+-------------------------------------------------------------------
+Mon Jul  6 19:07:38 UTC 2020 - Matej Cepl <[email protected]>
+
+- Add lua54 as new build target
+
+-------------------------------------------------------------------

New:
----
  lua54.patch

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

Other differences:
------------------
++++++ lua-penlight.spec ++++++
--- /var/tmp/diff_new_pack.5z8Q27/_old  2020-07-15 14:54:54.622810122 +0200
+++ /var/tmp/diff_new_pack.5z8Q27/_new  2020-07-15 14:54:54.622810122 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-penlight
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2012 Togan Muftuoglu [email protected]
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,10 +29,13 @@
 Group:          Development/Languages/Other
 URL:            http://stevedonovan.github.com/Penlight
 Source:         
https://github.com/stevedonovan/Penlight/archive/%{version}.tar.gz#/Penlight-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM lua54.patch gh#Tieske/Penlight#320 [email protected]
+# workaround hardcoded version of Lua 5.3.
+Patch0:         lua54.patch
 BuildRequires:  %{flavor}-devel
+BuildRequires:  %{flavor}-ldoc
 BuildRequires:  %{flavor}-luafilesystem
 BuildRequires:  %{flavor}-markdown
-BuildRequires:  %{flavor}-ldoc
 Requires:       %{flavor}
 Requires:       %{flavor}-luafilesystem
 BuildArch:      noarch
@@ -54,6 +57,7 @@
 %if 0%{?with_docs}
 %package doc
 Summary:        Documentation for %{name}
+Group:          Development/Languages/Other
 Requires:       %{name} = %{version}
 
 %description doc
@@ -62,6 +66,7 @@
 
 %prep
 %setup -q -n Penlight-%{version}
+%autopatch -p1
 
 %build
 
@@ -75,7 +80,6 @@
 # build and install README etc.
 lua%{lua_version} %{lua_noarchdir}/markdown.lua *.md
 
-
 %check
 
LUA_PATH="%{buildroot}%{lua_noarchdir}/?/init.lua;%{buildroot}%{lua_noarchdir}/?.lua;;"
 \
 lua%{lua_version} run.lua tests

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.5z8Q27/_old  2020-07-15 14:54:54.650810151 +0200
+++ /var/tmp/diff_new_pack.5z8Q27/_new  2020-07-15 14:54:54.654810155 +0200
@@ -1,4 +1,5 @@
 <multibuild>
 <package>lua51</package>
 <package>lua53</package>
+<package>lua54</package>
 </multibuild>

++++++ lua54.patch ++++++
--- a/tests/lua/mod52.lua
+++ b/tests/lua/mod52.lua
@@ -12,7 +12,7 @@ function answer ()
     -- so define it as a local up above, or use utils.import(_G).
     test.assertraise(function()
         print 'hello'
-    end,(LUA_VERSION~="Lua 5.3") and "attempt to call global 'print'" or 
"attempt to call a nil value")
+    end,(LUA_VERSION~="Lua 5.3" and LUA_VERSION~="Lua 5.4") and "attempt to 
call global 'print'" or "attempt to call a nil value")
 
     -- but all the Penlight modules are available
     return pretty.write(utils.split '10 20  30', '')

Reply via email to