6
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:
2021-02-04 19:23:38 +00:00
committed by Git OBS Bridge
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> 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 Patch0: luasocket-makefile.patch
BuildRequires: %{flavor}-devel BuildRequires: %{flavor}-devel
Requires: %{flavor} Requires: %{flavor}
%if "%{flavor}" == "lua53" %lua_provides
Provides: luasocket = %{version}
Obsoletes: luasocket < %{version}
%endif
%if "%{flavor}" == "" %if "%{flavor}" == ""
ExclusiveArch: do_not_build
Name: lua-%{mod_name} Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else %else
Name: %{flavor}-%{mod_name} Name: %{flavor}-%{mod_name}
%endif %endif