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>
|
Mon Jul 6 19:07:18 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
|
||||||
@ -48,20 +48,17 @@ Requires(post): update-alternatives
|
|||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
# optionally BuildRequires: %%{flavor}-lnotify
|
# optionally BuildRequires: %%{flavor}-lnotify
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if "%{flavor}" == "lua53"
|
%lua_provides
|
||||||
Provides: lua-moonscript = %{version}
|
%if ! %{with test}
|
||||||
Obsoletes: lua-moonscript < %{version}
|
|
||||||
%endif
|
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
Name: lua-moonscript
|
Name: lua-%{mod_name}
|
||||||
ExclusiveArch: do_not_build
|
ExclusiveArch: do_not_build
|
||||||
%else
|
%else
|
||||||
%if %{with test}
|
Name: %{flavor}-%{mod_name}
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
Name: %{flavor}-moonscript-test
|
Name: %{flavor}-moonscript-test
|
||||||
BuildRequires: %{flavor}-busted
|
BuildRequires: %{flavor}-busted
|
||||||
%else
|
|
||||||
Name: %{flavor}-moonscript
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user