[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-commit
Subject:    commit lua-macros for openSUSE:Factory
From:       "Source-Sync" <autobuild () suse ! de>
Date:       2022-11-30 13:59:50
Message-ID: 166981679345.18952.14172492589922956293 () mailman3 ! infra ! opensuse ! org
[Download RAW message or body]

Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lua-macros for openSUSE:Factory checked in \
at 2022-11-30 14:59:24 \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing \
/work/SRC/openSUSE:Factory/lua-macros (Old)  and      \
/work/SRC/openSUSE:Factory/.lua-macros.new.1597 (New) \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-macros"

Wed Nov 30 14:59:24 2022 rev:9 rq:1039122 version:20210827

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-macros/lua-macros.changes	2022-09-04 \
                22:11:20.600211616 +0200
+++ /work/SRC/openSUSE:Factory/.lua-macros.new.1597/lua-macros.changes	2022-11-30 \
14:59:50.433334954 +0100 @@ -1,0 +2,5 @@
+Fri Nov 25 19:15:41 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
+
+- Make macros usable with older releases (boo#1205611).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ lua-macros.spec ++++++
--- /var/tmp/diff_new_pack.bPvlMS/_old	2022-11-30 14:59:50.881337419 +0100
+++ /var/tmp/diff_new_pack.bPvlMS/_new	2022-11-30 14:59:50.885337442 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-macros
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %if %{undefined _rpmmacrodir}
 %define _rpmmacrodir %{_rpmconfigdir}/macros.d
 %endif
@@ -26,7 +27,10 @@
 Group:          Development/Languages/Other
 URL:            https://www.lua.org
 Source0:        macros.lua
+%if 0%{?suse_version} >= 1500
+# on SLE 12 lua is lua5.2 unconditionally, avoid
 Requires:       lua
+%endif
 BuildArch:      noarch
 
 %description

++++++ macros.lua ++++++
--- /var/tmp/diff_new_pack.bPvlMS/_old	2022-11-30 14:59:50.937337728 +0100
+++ /var/tmp/diff_new_pack.bPvlMS/_new	2022-11-30 14:59:50.941337750 +0100
@@ -13,7 +13,19 @@
 # lua includes folder
 %lua_incdir %{_includedir}/lua%{lua_version}
 
-%lua_version_default 5.4
+%lua_version_default %{lua:
+local result = 5.4
+local ver = rpm.expand("%{?suse_version}")
+if #ver > 0 then
+    ver = tonumber(ver)
+    if ver < 1500 then
+        result = 5.1
+    elseif ver == 1500 then
+        result = 5.3
+    end
+end
+print(result)
+}
 %lua_version_default_nodots %(lua -e 'print((string.gsub("%{lua_version_default}", \
"%.", "")))')  
 %ifluadefault \


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic