Hello community,

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

Package is "lua-ldbus"

Wed Jul 15 14:55:00 2020 rev:5 rq:819738 version:0.0+git20190816.9e176fe

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-ldbus/lua-ldbus.changes      2019-10-27 
13:41:11.345279651 +0100
+++ /work/SRC/openSUSE:Factory/.lua-ldbus.new.3060/lua-ldbus.changes    
2020-07-15 14:55:03.090818831 +0200
@@ -1,0 +2,10 @@
+Thu Jul  9 13:41:16 UTC 2020 - Callum Farmer <[email protected]>
+
+- Added lua54.patch to fix building with Lua 5.4
+
+-------------------------------------------------------------------
+Mon Jul  6 19:03:42 UTC 2020 - Matej Cepl <[email protected]>
+
+- Add lua54 as new build target
+
+-------------------------------------------------------------------

New:
----
  lua54.patch

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

Other differences:
------------------
++++++ lua-ldbus.spec ++++++
--- /var/tmp/diff_new_pack.dCkTPn/_old  2020-07-15 14:55:03.994819761 +0200
+++ /var/tmp/diff_new_pack.dCkTPn/_new  2020-07-15 14:55:03.998819764 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-ldbus
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 Group:          Development/Libraries/Other
 URL:            https://github.com/daurnimator/ldbus/
 Source:         lua-ldbus-%{version}.tar.xz
+Patch0:         lua54.patch
 BuildRequires:  %{flavor}-devel
 Requires:       %{flavor}
 %if 0%{?suse_version} < 1330
@@ -47,7 +48,7 @@
 ldbus is a C binding to dbus for Lua.
 
 %prep
-%setup -q -n lua-ldbus-%{version}
+%autosetup -n lua-ldbus-%{version} -p1
 %if "%{flavor}" != "lua53"
 sed -i -e "s/lua5.3/lua%{lua_version}/" src/Makefile
 %endif
@@ -60,7 +61,7 @@
 %endif
 %endif
 cd src
-make %{?_smp_mflags}
+%make_build
 
 %install
 cd src

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.dCkTPn/_old  2020-07-15 14:55:04.030819797 +0200
+++ /var/tmp/diff_new_pack.dCkTPn/_new  2020-07-15 14:55:04.034819802 +0200
@@ -1,4 +1,5 @@
 <multibuild>
 <package>lua51</package>
 <package>lua53</package>
+<package>lua54</package>
 </multibuild>

++++++ lua54.patch ++++++
diff --git a/vendor/compat-5.3/c-api/compat-5.3.h 
b/vendor/compat-5.3/c-api/compat-5.3.h
index 8e10893..52d2830 100644
--- a/vendor/compat-5.3/c-api/compat-5.3.h
+++ b/vendor/compat-5.3/c-api/compat-5.3.h
@@ -397,11 +397,11 @@ COMPAT53_API void luaL_requiref (lua_State *L, const char 
*modname,


 /* other Lua versions */
-#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 503
+#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501

-#  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
+#  error "unsupported Lua version (i.e. less than Lua 5.1)"

-#endif /* other Lua versions except 5.1, 5.2, and 5.3 */
+#endif





Reply via email to