4 Commits

Author SHA256 Message Date
6fe8f025a1 Accepting request 1297784 from devel:languages:lua
- Switch from update-alternatives to libalternatives (and
  dependency on lua-interpreter)
- improve .gitignore and overall improve the packaging.
- this package also provides devel symlink directly and conflicts
  other -devel packages

- fix update-alternatives
  * Stack overflow in vararg functions with many fixed parameters
    called with few arguments.
  * Wrong assert when reporting concatenation errors (manifests only
    when Lua is compiled in debug mode).
  * Wrong error message in some short-cut expressions.
  * luac listings choke on long strings.
- export luaU_dump in order to fix linking of luac binary
* LUA_IFUNC must be defined as upstream but without "extern",
* LUA_API must be defined as visibility default
  would not work because LUA_CDIR constant is wrong in x86_64
- devel package must require libluaver = %{version}
  or scripts
        [lua_pushstring] and <CODE>pushlstring</CODE> return string
  * too many variables in an assignment may cause a C stack
    overflow
  * an error in a module loaded through the '-l' option shows no
  * gsub may go wild when wrongly called without its third
    argument and with a large subject
  * table.remove removes last element of a table when given
    an out-of-bound index
  * stand-alone interpreter shows incorrect error message when
  * debug.sethook/gethook may overflow the thread's stack
- Switch from update-alternatives to libalternatives (and

OBS-URL: https://build.opensuse.org/request/show/1297784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua54?expand=0&rev=34
2025-08-06 12:30:48 +00:00
de8bc59cb3 Accepting request 1296995 from devel:languages:lua
- Switch from update-alternatives to libalternatives (and
  dependency on lua-interpreter)
- improve .gitignore and overall improve the packaging.
- this package also provides devel symlink directly and conflicts
  other -devel packages

- fix update-alternatives
  * Stack overflow in vararg functions with many fixed parameters
    called with few arguments.
  * Wrong assert when reporting concatenation errors (manifests only
    when Lua is compiled in debug mode).
  * Wrong error message in some short-cut expressions.
  * luac listings choke on long strings.
- export luaU_dump in order to fix linking of luac binary
* LUA_IFUNC must be defined as upstream but without "extern",
* LUA_API must be defined as visibility default
  would not work because LUA_CDIR constant is wrong in x86_64
- devel package must require libluaver = %{version}
  or scripts
        [lua_pushstring] and <CODE>pushlstring</CODE> return string
  * too many variables in an assignment may cause a C stack
    overflow
  * an error in a module loaded through the '-l' option shows no
  * gsub may go wild when wrongly called without its third
    argument and with a large subject
  * table.remove removes last element of a table when given
    an out-of-bound index
  * stand-alone interpreter shows incorrect error message when
  * debug.sethook/gethook may overflow the thread's stack
- Switch from update-alternatives to libalternatives (and

OBS-URL: https://build.opensuse.org/request/show/1296995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua54?expand=0&rev=33
2025-08-03 11:35:52 +00:00
8105372df5 Accepting request 1292454 from devel:languages:lua
5.4.8

OBS-URL: https://build.opensuse.org/request/show/1292454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua54?expand=0&rev=32
2025-07-15 14:42:40 +00:00
c1ae7e2e87 Accepting request 1272084 from devel:languages:lua
- Fix license: it is MIT, not GPL-3.0-or-later.

OBS-URL: https://build.opensuse.org/request/show/1272084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua54?expand=0&rev=31
2025-04-25 20:18:02 +00:00
5 changed files with 11 additions and 12 deletions

4
.gitignore vendored
View File

@@ -1,5 +1 @@
.osc
_scmsync.obsinfo
_buildconfig-*
_buildinfo-*.xml
lua54-*-build/

5
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,5 @@
mtime: 1754409984
commit: e748694fd6b34ea2082ff3cbfaf7d9ef41076c486205ab4507e5c766aa4d8b3b
url: https://src.opensuse.org/lua/lua54.git
revision: e748694fd6b34ea2082ff3cbfaf7d9ef41076c486205ab4507e5c766aa4d8b3b
projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git

BIN
build.specials.obscpio LFS Normal file

Binary file not shown.

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Thu Oct 16 15:54:49 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Clean up of the SPEC file.
-------------------------------------------------------------------
Tue Aug 5 07:22:18 UTC 2025 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -37,7 +37,7 @@ Summary: Small Embeddable Language with Procedural Syntax
License: MIT
Group: Development/Languages/Other
URL: https://www.lua.org
Source0: https://www.lua.org/ftp/lua-%{version}.tar.gz
Source: https://www.lua.org/ftp/lua-%{version}.tar.gz
Source1: https://www.lua.org/tests/lua-%{version}-tests.tar.gz
Source99: baselibs.conf
# PATCH-FIX-SUSE tweak the buildsystem to produce what is needed for SUSE
@@ -67,11 +67,11 @@ Requires(postun): update-alternatives
BuildRequires: lua54
BuildRequires: lua54-devel
%else
# Ensure we can build without $self
#!BuildIgnore: lua54
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: readline-devel
# Ensure we can build without $self
#!BuildIgnore: lua54
%endif
%description