Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lua-markdown for openSUSE:Factory 
checked in at 2026-01-26 12:35:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-markdown (Old)
 and      /work/SRC/openSUSE:Factory/.lua-markdown.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-markdown"

Mon Jan 26 12:35:04 2026 rev:6 rq:1328835 version:0.331

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-markdown/lua-markdown.changes        
2025-11-05 16:21:10.237306762 +0100
+++ /work/SRC/openSUSE:Factory/.lua-markdown.new.1928/lua-markdown.changes      
2026-01-26 12:35:17.487612591 +0100
@@ -1,0 +2,6 @@
+Thu Jan 22 14:45:56 UTC 2026 - Matej Cepl <[email protected]>
+
+- Add lua55-build.patch to fix incompatibility with Lua 5.5
+  (gh#mpeterv/markdown!8).
+
+-------------------------------------------------------------------

New:
----
  lua55-build.patch

----------(New B)----------
  New:
- Add lua55-build.patch to fix incompatibility with Lua 5.5
  (gh#mpeterv/markdown!8).
----------(New E)----------

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

Other differences:
------------------
++++++ lua-markdown.spec ++++++
--- /var/tmp/diff_new_pack.zLe440/_old  2026-01-26 12:35:18.147640287 +0100
+++ /var/tmp/diff_new_pack.zLe440/_new  2026-01-26 12:35:18.151640455 +0100
@@ -25,6 +25,9 @@
 License:        MIT
 URL:            https://github.com/mpeterv/markdown
 Source:         
https://github.com/mpeterv/markdown/archive/%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
+# PATCH-FIX-UPSTREAM lua55-build.patch gh#mpeterv/markdown!8 [email protected]
+# Fix incompatibility with Lua 5.5
+Patch0:         lua55-build.patch
 BuildRequires:  %{flavor}-devel
 BuildRequires:  lua-macros
 Requires:       %{flavor}
@@ -41,7 +44,7 @@
 A pure-lua implementation of the Markdown text-to-html markup system.
 
 %prep
-%setup -q -n %{mod_name}-%{upversion}
+%autosetup -p1 -n %{mod_name}-%{upversion}
 sed -i '\|%{_bindir}/env |d' markdown.lua
 
 %build

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.zLe440/_old  2026-01-26 12:35:18.195642301 +0100
+++ /var/tmp/diff_new_pack.zLe440/_new  2026-01-26 12:35:18.199642470 +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.zLe440/_old  2026-01-26 12:35:18.227643645 +0100
+++ /var/tmp/diff_new_pack.zLe440/_new  2026-01-26 12:35:18.231643812 +0100
@@ -1,6 +1,6 @@
-mtime: 1761317424
-commit: 166d2c230a07c82e2b028c5271679fb210f920a4af3601b331a6accabff1e27b
+mtime: 1769108906
+commit: 6080314a036429d8a755d5c61cdfdd3b4e401f7f8e0490447f6654be5b2cbff8
 url: https://src.opensuse.org/lua/lua-markdown.git
-revision: 166d2c230a07c82e2b028c5271679fb210f920a4af3601b331a6accabff1e27b
+revision: 6080314a036429d8a755d5c61cdfdd3b4e401f7f8e0490447f6654be5b2cbff8
 projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++
--- old/.gitignore      2025-10-24 16:50:35.000000000 +0200
+++ new/.gitignore      2026-01-22 20:09:17.000000000 +0100
@@ -1 +1,5 @@
-.osc
+*.obscpio
+*.osc
+_build.*
+.pbuild
+lua*-markdown-*-build/

++++++ 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-22 20:09:17.000000000 +0100
@@ -0,0 +1,5 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild
+lua*-markdown-*-build/

++++++ lua55-build.patch ++++++
---
 markdown.lua |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: markdown-0.33/markdown.lua
===================================================================
--- markdown-0.33.orig/markdown.lua     2026-01-22 15:31:50.217036340 +0100
+++ markdown-0.33/markdown.lua  2026-01-22 15:35:12.767885110 +0100
@@ -254,8 +254,8 @@
 -- Unprotects the specified text by expanding all the nonces
 local function unprotect(text)
    for k,v in pairs(PD.blocks) do
-      v = v:gsub("%%", "%%%%")
-      text = text:gsub(k, v)
+      local escaped_v = v:gsub("%%", "%%%%")
+      text = text:gsub(k, escaped_v)
    end
    return text
 end
@@ -686,8 +686,8 @@
 local function unescape_special_chars(t)
    local tin = t
    for k,v in pairs(escape_table) do
-      k = k:gsub("%%", "%%%%")
-      t = t:gsub(v,k)
+      local escaped_k = k:gsub("%%", "%%%%")
+      t = t:gsub(v,escaped_k)
    end
    if t ~= tin then t = unescape_special_chars(t) end
    return t

Reply via email to