From 6cf4a86117843c6d23dd897684de118f9f745b8bd47fd62b61c1d2260ace2aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 16 Oct 2017 08:39:37 +0000 Subject: [PATCH] - Provide/Obsolete luasocket to avoid conflict wrt bsc#1063306 - Provide/Obsolete luasocket to avoid conflict wrt bsc#1063306 - Provide/Obsolete luasocket to avoid conflict wrt bsc#1063306 - Provide/Obsolete luasocket to avoid conflict wrt bsc#1063306 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasocket?expand=0&rev=11 --- lua-luasocket.changes | 5 +++++ lua-luasocket.spec | 4 ++++ lua51-luasocket.changes | 5 +++++ lua51-luasocket.spec | 6 +++++- lua52-luasocket.changes | 5 +++++ lua52-luasocket.spec | 6 +++++- lua53-luasocket.changes | 5 +++++ lua53-luasocket.spec | 6 +++++- 8 files changed, 39 insertions(+), 3 deletions(-) diff --git a/lua-luasocket.changes b/lua-luasocket.changes index bf06d71..cbd3345 100644 --- a/lua-luasocket.changes +++ b/lua-luasocket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 16 08:39:37 UTC 2017 - tchvatal@suse.com + +- Provide/Obsolete luasocket to avoid conflict wrt bsc#1063306 + ------------------------------------------------------------------- Thu Jul 27 11:07:34 UTC 2017 - tchvatal@suse.com diff --git a/lua-luasocket.spec b/lua-luasocket.spec index 2482ed5..1e324f3 100644 --- a/lua-luasocket.spec +++ b/lua-luasocket.spec @@ -29,6 +29,10 @@ Source: %{mod_name}-%{version}.tar.xz Patch0: luasocket-makefile.patch BuildRequires: %{flavor}-devel Requires: %{flavor} +%if "%{flavor}" == "lua53" +Provides: luasocket = %{version} +Obsoletes: luasocket < %{version} +%endif %if "%{flavor}" == "lua" ExclusiveArch: do_not_build %endif diff --git a/lua51-luasocket.changes b/lua51-luasocket.changes index bf06d71..cbd3345 100644 --- a/lua51-luasocket.changes +++ b/lua51-luasocket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 16 08:39:37 UTC 2017 - tchvatal@suse.com + +- Provide/Obsolete luasocket to avoid conflict wrt bsc#1063306 + ------------------------------------------------------------------- Thu Jul 27 11:07:34 UTC 2017 - tchvatal@suse.com diff --git a/lua51-luasocket.spec b/lua51-luasocket.spec index 972612f..7bfa884 100644 --- a/lua51-luasocket.spec +++ b/lua51-luasocket.spec @@ -1,5 +1,5 @@ # -# spec file for package lua-luasocket +# spec file for package lua51-luasocket # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -29,6 +29,10 @@ Source: %{mod_name}-%{version}.tar.xz Patch0: luasocket-makefile.patch BuildRequires: %{flavor}-devel Requires: %{flavor} +%if "%{flavor}" == "lua53" +Provides: luasocket = %{version} +Obsoletes: luasocket < %{version} +%endif %if "%{flavor}" == "lua" ExclusiveArch: do_not_build %endif diff --git a/lua52-luasocket.changes b/lua52-luasocket.changes index bf06d71..cbd3345 100644 --- a/lua52-luasocket.changes +++ b/lua52-luasocket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 16 08:39:37 UTC 2017 - tchvatal@suse.com + +- Provide/Obsolete luasocket to avoid conflict wrt bsc#1063306 + ------------------------------------------------------------------- Thu Jul 27 11:07:34 UTC 2017 - tchvatal@suse.com diff --git a/lua52-luasocket.spec b/lua52-luasocket.spec index e205604..adf6847 100644 --- a/lua52-luasocket.spec +++ b/lua52-luasocket.spec @@ -1,5 +1,5 @@ # -# spec file for package lua-luasocket +# spec file for package lua52-luasocket # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -29,6 +29,10 @@ Source: %{mod_name}-%{version}.tar.xz Patch0: luasocket-makefile.patch BuildRequires: %{flavor}-devel Requires: %{flavor} +%if "%{flavor}" == "lua53" +Provides: luasocket = %{version} +Obsoletes: luasocket < %{version} +%endif %if "%{flavor}" == "lua" ExclusiveArch: do_not_build %endif diff --git a/lua53-luasocket.changes b/lua53-luasocket.changes index bf06d71..cbd3345 100644 --- a/lua53-luasocket.changes +++ b/lua53-luasocket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 16 08:39:37 UTC 2017 - tchvatal@suse.com + +- Provide/Obsolete luasocket to avoid conflict wrt bsc#1063306 + ------------------------------------------------------------------- Thu Jul 27 11:07:34 UTC 2017 - tchvatal@suse.com diff --git a/lua53-luasocket.spec b/lua53-luasocket.spec index d6145c2..723f204 100644 --- a/lua53-luasocket.spec +++ b/lua53-luasocket.spec @@ -1,5 +1,5 @@ # -# spec file for package lua-luasocket +# spec file for package lua53-luasocket # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -29,6 +29,10 @@ Source: %{mod_name}-%{version}.tar.xz Patch0: luasocket-makefile.patch BuildRequires: %{flavor}-devel Requires: %{flavor} +%if "%{flavor}" == "lua53" +Provides: luasocket = %{version} +Obsoletes: luasocket < %{version} +%endif %if "%{flavor}" == "lua" ExclusiveArch: do_not_build %endif