From a70e706bc77ccc100d0c0f50a573523e65634efd4b97c8c9e59eb8769db2cb72 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 11 Feb 2021 10:56:24 +0000 Subject: [PATCH] Accepting request 871156 from home:dimstar:Factory - Use %lua_provides: add the lua-mod_name provides/obsoletes to the lua version matching the distro default. OBS-URL: https://build.opensuse.org/request/show/871156 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasystem?expand=0&rev=10 --- lua-luasystem.changes | 6 ++++++ lua-luasystem.spec | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lua-luasystem.changes b/lua-luasystem.changes index a5a58bb..31da04c 100644 --- a/lua-luasystem.changes +++ b/lua-luasystem.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 11 09:51:45 UTC 2021 - Dominique Leuenberger + +- Use %lua_provides: add the lua-mod_name provides/obsoletes to + the lua version matching the distro default. + ------------------------------------------------------------------- Mon Jul 6 19:06:32 UTC 2020 - Matej Cepl diff --git a/lua-luasystem.spec b/lua-luasystem.spec index 3f580f5..80455e3 100644 --- a/lua-luasystem.spec +++ b/lua-luasystem.spec @@ -1,7 +1,7 @@ # # spec file for package lua-luasystem # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,10 +27,7 @@ URL: https://github.com/o-lim/luasystem Source: https://github.com/o-lim/luasystem/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz BuildRequires: %{flavor}-devel Requires: %{flavor} -%if "%{flavor}" == "lua53" -Provides: lua-luasystem = %{version} -Obsoletes: lua-luasystem < %{version} -%endif +%lua_provides %if "%{flavor}" == "" Name: lua-luasystem ExclusiveArch: do_not_build