forked from pool/lua-luv
5.1 instead
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luv?expand=0&rev=39
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 17 11:33:51 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Change default version to Lua 5.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 22:20:25 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%ifluadefault
|
||||
%if %{lua_version_nodots} == 51
|
||||
%define lua_default 1
|
||||
%endif
|
||||
%define mod_name luv
|
||||
@@ -64,7 +64,7 @@ handles between states/loops.
|
||||
The best docs currently are the libuv docs themselves. Hopfully
|
||||
soon we'll have a copy locally tailored for lua.
|
||||
|
||||
%ifluadefault
|
||||
%if 0%{?lua_default}
|
||||
%package -n libluv-devel
|
||||
Summary: Header files for %{flavor}-%{mod_name}
|
||||
Group: Development/Languages/Other
|
||||
@@ -107,7 +107,7 @@ echo "Name is %{name}, Flavor is %{flavor}"
|
||||
%doc *.md
|
||||
%{lua_archdir}/luv.so
|
||||
|
||||
%ifluadefault
|
||||
%if 0%{?lua_default}
|
||||
%files -n libluv-devel
|
||||
%license LICENSE.txt
|
||||
%{_includedir}/%{mod_name}
|
||||
|
Reference in New Issue
Block a user