Accepting request 875485 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/875485 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-macros?expand=0&rev=4
This commit is contained in:
commit
2d86a3db47
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 26 15:54:56 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Add -e (exclude) option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 27 15:51:37 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
|
@ -13,9 +13,15 @@
|
||||
%lua_incdir %{_includedir}/lua%{lua_version}
|
||||
|
||||
# Lua default version
|
||||
%lua_provides \
|
||||
# -e: Exclude lua prefix
|
||||
%lua_provides(e) \
|
||||
%if "%{flavor}" == "lua54" \
|
||||
%if 0%{?-e:1} \
|
||||
Provides: %{mod_name} = %{version}-%{release} \
|
||||
Obsoletes: %{mod_name} < %{version}-%{release} \
|
||||
%else \
|
||||
Provides: lua-%{mod_name} = %{version}-%{release} \
|
||||
Obsoletes: lua-%{mod_name} < %{version}-%{release} \
|
||||
%endif \
|
||||
%endif \
|
||||
%{nil}
|
||||
|
Loading…
Reference in New Issue
Block a user