forked from pool/lua-luasocket
This commit is contained in:
committed by
Git OBS Bridge
parent
65d8729861
commit
677c34ec87
@@ -17,7 +17,11 @@
|
||||
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name luasocket
|
||||
%if "%{flavor}" == ""
|
||||
%define flavor lua
|
||||
%endif
|
||||
%define mod_name luasocket
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 3.0~rc1+git20170515.5a17f79
|
||||
Release: 0
|
||||
Summary: Network support for the Lua language
|
||||
@@ -28,11 +32,8 @@ Source: %{mod_name}-%{version}.tar.xz
|
||||
Patch0: luasocket-makefile.patch
|
||||
BuildRequires: %{flavor}-devel
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
%if "%{flavor}" == "lua"
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
@@ -17,7 +17,11 @@
|
||||
|
||||
|
||||
%define flavor lua51
|
||||
%define mod_name luasocket
|
||||
%if "%{flavor}" == ""
|
||||
%define flavor lua
|
||||
%endif
|
||||
%define mod_name luasocket
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 3.0~rc1+git20170515.5a17f79
|
||||
Release: 0
|
||||
Summary: Network support for the Lua language
|
||||
@@ -28,11 +32,8 @@ Source: %{mod_name}-%{version}.tar.xz
|
||||
Patch0: luasocket-makefile.patch
|
||||
BuildRequires: %{flavor}-devel
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
%if "%{flavor}" == "lua"
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
@@ -17,7 +17,11 @@
|
||||
|
||||
|
||||
%define flavor lua52
|
||||
%define mod_name luasocket
|
||||
%if "%{flavor}" == ""
|
||||
%define flavor lua
|
||||
%endif
|
||||
%define mod_name luasocket
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 3.0~rc1+git20170515.5a17f79
|
||||
Release: 0
|
||||
Summary: Network support for the Lua language
|
||||
@@ -28,11 +32,8 @@ Source: %{mod_name}-%{version}.tar.xz
|
||||
Patch0: luasocket-makefile.patch
|
||||
BuildRequires: %{flavor}-devel
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
%if "%{flavor}" == "lua"
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
@@ -17,7 +17,11 @@
|
||||
|
||||
|
||||
%define flavor lua53
|
||||
%define mod_name luasocket
|
||||
%if "%{flavor}" == ""
|
||||
%define flavor lua
|
||||
%endif
|
||||
%define mod_name luasocket
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 3.0~rc1+git20170515.5a17f79
|
||||
Release: 0
|
||||
Summary: Network support for the Lua language
|
||||
@@ -28,11 +32,8 @@ Source: %{mod_name}-%{version}.tar.xz
|
||||
Patch0: luasocket-makefile.patch
|
||||
BuildRequires: %{flavor}-devel
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
%if "%{flavor}" == "lua"
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user