SHA256
11
0
forked from pool/lua-lua-ev

Accepting request 1315162 from devel:languages:lua

- Switch off building lua51 build of the package.

- Rename lua54.patch to lua-independent.patch and make building
  of the package independent of the version of Lua intepreter
  (gh#brimworks/lua-ev#24).

OBS-URL: https://build.opensuse.org/request/show/1315162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lua-ev?expand=0&rev=6
This commit is contained in:
2025-11-05 15:18:12 +00:00
committed by Git OBS Bridge
parent 22bbf41f1d
commit ba8f7197b6
7 changed files with 220 additions and 29 deletions

View File

@@ -30,9 +30,9 @@ License: MIT
Group: Development/Languages/Other
URL: https://github.com/brimworks/lua-ev
Source: https://github.com/brimworks/%{mod_name}/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
# PATCH-FIX-UPSTREAM lua54.patch gh#brimworks/lua-ev#24 mcepl@suse.com
# Resolve FTBFS with Lua 5.4.
Patch0: lua54.patch
# PATCH-FIX-UPSTREAM lua-independent.patch gh#brimworks/lua-ev#24 mcepl@suse.com
# Resolve FTBFS with Lua 5.4 and make package building truly Lua version independent.
Patch0: lua-independent.patch
BuildRequires: %{flavor}-devel
BuildRequires: cmake
BuildRequires: libev-devel
@@ -53,6 +53,7 @@ Lua integration with libev (http://dist.schmorp.de/libev)
%package devel
Summary: Header files for %{flavor}-%{mod_name}
Group: Development/Languages/Other
BuildArch: noarch
Requires: %{flavor}-%{mod_name} = %{version}
%if %{with public_lib}
Requires: %{flavor}-libev%{libev_sover}