forked from pool/lua-moonscript
Accepting request 873523 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/873523 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-moonscript?expand=0&rev=3
This commit is contained in:
commit
26481a4cd0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 18 16:01:33 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Use %lua_provides macro for default lua versioning
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 6 19:07:18 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%if "%{flavor}" == "test"
|
||||
%define flavor lua51
|
||||
%define flavor lua54
|
||||
%bcond_without test
|
||||
%else
|
||||
%bcond_with test
|
||||
@ -48,20 +48,17 @@ Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
# optionally BuildRequires: %%{flavor}-lnotify
|
||||
BuildArch: noarch
|
||||
%if "%{flavor}" == "lua53"
|
||||
Provides: lua-moonscript = %{version}
|
||||
Obsoletes: lua-moonscript < %{version}
|
||||
%endif
|
||||
%lua_provides
|
||||
%if ! %{with test}
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-moonscript
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
%if %{with test}
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
%else
|
||||
Name: %{flavor}-moonscript-test
|
||||
BuildRequires: %{flavor}-busted
|
||||
%else
|
||||
Name: %{flavor}-moonscript
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
Loading…
x
Reference in New Issue
Block a user