SHA256
10
0
forked from pool/lua-luasec

Accepting request 873532 from devel:languages:lua

OBS-URL: https://build.opensuse.org/request/show/873532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luasec?expand=0&rev=5
This commit is contained in:
2021-02-18 19:42:28 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 18 15:57:10 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Use %lua_provides macro for default lua versioning
-------------------------------------------------------------------
Mon Jul 6 19:05:55 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -17,23 +17,25 @@
%define flavor @BUILD_FLAVOR@
%define modname luasec
%define mod_name luasec
Version: 0.9
Release: 0
Summary: A Lua binding for OpenSSL
License: MIT
URL: https://github.com/brunoos/luasec
Source: https://github.com/brunoos/%{modname}/archive/v%{version}/%{modname}-%{version}.tar.gz
Source: https://github.com/brunoos/%{mod_name}/archive/v%{version}/%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: lua-macros
BuildRequires: %{flavor}-luasocket
BuildRequires: libopenssl-devel
Requires: %{flavor}
Requires: %{flavor}-luasocket
%lua_provides
%if "%{flavor}" == ""
Name: lua-%{modname}
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{modname}
Name: %{flavor}-%{mod_name}
%endif
%description
@@ -42,7 +44,7 @@ It takes an already established TCP connection and creates a secure
session between the peers.
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n %{mod_name}-%{version}
%build
make %{?_smp_mflags} linux \