From 31b5808c51bb86f3a3b07560da9f7eaceeebf45965ec831c27b3858ec5a42c8d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 7 Jul 2020 22:59:35 +0000 Subject: [PATCH] Fix Name with multibuild OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasocket?expand=0&rev=19 --- lua-luasocket.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lua-luasocket.spec b/lua-luasocket.spec index 2b483a1..dbd47da 100644 --- a/lua-luasocket.spec +++ b/lua-luasocket.spec @@ -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