forked from pool/lua-luasocket
Fix Name with multibuild
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasocket?expand=0&rev=19
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua-luasocket
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,12 @@
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name luasocket
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 3.0~rc1+git20170515.5a17f79
|
||||
Release: 0
|
||||
Summary: Network support for the Lua language
|
||||
License: MIT
|
||||
Group: Development/Languages/Other
|
||||
Url: https://github.com/diegonehab/luasocket
|
||||
URL: https://github.com/diegonehab/luasocket
|
||||
Source: %{mod_name}-%{version}.tar.xz
|
||||
Patch0: luasocket-makefile.patch
|
||||
BuildRequires: %{flavor}-devel
|
||||
@@ -35,6 +34,9 @@ Obsoletes: luasocket < %{version}
|
||||
%endif
|
||||
%if "%{flavor}" == ""
|
||||
ExclusiveArch: do_not_build
|
||||
Name: lua-%{mod_name}
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user