SHA256
10
0
forked from pool/lua-macros

fix: convert %lua_provides to pure Lua for better control

Converts the logic within the %lua_provides macro from a
multi-line string of RPM macros to native Lua code. This allows
for more robust conditional logic, especially when checking for
default Lua versions and handling provides/obsoletes.
This commit is contained in:
2025-10-31 18:16:57 +01:00
parent d1f0f1035b
commit 521e3b1dc4
2 changed files with 37 additions and 22 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 3 00:20:49 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Finally broke %lua_provides to be working. I got stumped by the
craziness of rpm which runs Lua interpreter with locales and
crazy reformatting of integers.
-------------------------------------------------------------------
Mon Oct 20 21:30:36 UTC 2025 - Matej Cepl <mcepl@cepl.eu>