12
0
forked from pool/lua-luasocket

Accepting request 867733 from devel:languages:lua

OBS-URL: https://build.opensuse.org/request/show/867733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luasocket?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2021-02-04 19:23:38 +00:00 committed by Git OBS Bridge
commit b351f73020
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 27 15:57:01 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Use %lua_provides macro
-------------------------------------------------------------------
Mon Jul 6 21:03:56 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>

View File

@ -28,13 +28,10 @@ Source: %{mod_name}-%{version}.tar.xz
Patch0: luasocket-makefile.patch
BuildRequires: %{flavor}-devel
Requires: %{flavor}
%if "%{flavor}" == "lua53"
Provides: luasocket = %{version}
Obsoletes: luasocket < %{version}
%endif
%lua_provides
%if "%{flavor}" == ""
ExclusiveArch: do_not_build
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif