forked from pool/lua-loadkit
Accepting request 873540 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/873540 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-loadkit?expand=0&rev=3
This commit is contained in:
commit
a07a79a385
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 18 15:52:35 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
- Use %lua_provides macro for default lua versioning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 6 19:04:09 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Mon Jul 6 19:04:09 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define flavor @BUILD_FLAVOR@
|
%define flavor @BUILD_FLAVOR@
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define flavor lua51
|
%define flavor lua54
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
%else
|
%else
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
@ -35,6 +35,7 @@ Source: https://github.com/leafo/%{mod_name}/archive/v%{version}.tar.gz#
|
|||||||
BuildRequires: %{flavor}-devel
|
BuildRequires: %{flavor}-devel
|
||||||
Requires: %{flavor}
|
Requires: %{flavor}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%lua_provides
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{flavor}-busted
|
BuildRequires: %{flavor}-busted
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user