SHA256
10
0
forked from pool/lua-readline

Accepting request 941295 from home:gmbr3:Lua

- Add Requires lua-luaposix >= 30

OBS-URL: https://build.opensuse.org/request/show/941295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-readline?expand=0&rev=4
This commit is contained in:
2021-12-17 19:33:39 +00:00
committed by Git OBS Bridge
parent 2f5f32b9b4
commit 8fc9c1e148
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 17 19:32:30 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Add Requires lua-luaposix >= 30
-------------------------------------------------------------------
Tue Jun 8 18:03:52 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@@ -32,6 +32,7 @@ Url: https://pjb.com.au/comp/lua/readline.html
Source0: https://pjb.com.au/comp/lua/%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: readline-devel
Requires: %{flavor}-luaposix >= 30
%lua_provides
%description
@@ -52,7 +53,7 @@ This module does not work lua -i because that runs its own readline, and the two
%build
CFLAGS="%{optflags}"
CFLAGS="$CFLAGS -I%{lua_incdir}"
gcc $CFLAGS -shared -o C-readline.so -fPIC C-readline.c -llua -lreadline
cc $CFLAGS -shared -o C-readline.so -fPIC C-readline.c -llua -lreadline
%install
install -Dm644 C-readline.so %{buildroot}%{lua_archdir}/C-readline.so