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

- Add lua54 as new build target

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-lua-ev?expand=0&rev=3
This commit is contained in:
Matej Cepl 2020-07-06 19:05:09 +00:00 committed by Git OBS Bridge
parent 0d8fed159c
commit 5a094fd03b
3 changed files with 9 additions and 4 deletions

View File

@ -1,4 +1,5 @@
<multibuild> <multibuild>
<package>lua51</package> <package>lua51</package>
<package>lua53</package> <package>lua53</package>
<package>lua54</package>
</multibuild> </multibuild>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 6 19:05:03 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add lua54 as new build target
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 2 18:01:04 CET 2019 - Matej Cepl <mcepl@suse.com> Sat Nov 2 18:01:04 CET 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package lua-lua-ev # spec file for package lua-lua-ev
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# Copyright (c) 2012 Togan Muftuoglu toganm@opensuse.org # Copyright (c) 2012 Togan Muftuoglu toganm@opensuse.org
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -27,12 +27,13 @@ Version: 1.5
Release: 0 Release: 0
Summary: Lua integration with libev Summary: Lua integration with libev
License: MIT License: MIT
Group: Development/Languages/Other
URL: https://github.com/brimworks/lua-ev URL: https://github.com/brimworks/lua-ev
Source: https://github.com/brimworks/%{mod_name}/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz Source: https://github.com/brimworks/%{mod_name}/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libev-devel BuildRequires: libev-devel
BuildRequires: lua-macros BuildRequires: lua-macros
BuildRequires: %{flavor}-devel
# BuildRequires: %%{flavor}-luafilesystem # BuildRequires: %%{flavor}-luafilesystem
Requires: %{flavor} Requires: %{flavor}
%if "%{flavor}" == "" %if "%{flavor}" == ""
@ -98,7 +99,6 @@ cmake -H. -Bbuild -DCMAKE_C_FLAGS="$RPM_OPT_FLAGS" \
-DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=ON
( cd build ; make ) ( cd build ; make )
%install %install
install -v -D -m 0755 -p -t %{buildroot}%{lua_archdir} build/ev.so install -v -D -m 0755 -p -t %{buildroot}%{lua_archdir} build/ev.so
%if %{with public_lib} %if %{with public_lib}
@ -107,7 +107,6 @@ ln -sf libev.so.* %{buildroot}%{lua_archdir}/libev.so
%endif %endif
install -v -D -m 0644 -p -t %{buildroot}%{lua_incdir}/%{mod_name} *.h install -v -D -m 0644 -p -t %{buildroot}%{lua_incdir}/%{mod_name} *.h
%check %check
cd build cd build
make test make test