From 7452983a76b781a007a1668f1a444c38c94c6e6bd5d546612e07b8bc0200e85b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 11 Feb 2021 17:18:05 +0000 Subject: [PATCH] Accepting request 871155 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/871155 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luassert?expand=0&rev=6 --- lua-luassert.changes | 6 ++++++ lua-luassert.spec | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lua-luassert.changes b/lua-luassert.changes index 6d6df94..445005c 100644 --- a/lua-luassert.changes +++ b/lua-luassert.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 11 09:50:40 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:23 UTC 2020 - Matej Cepl diff --git a/lua-luassert.spec b/lua-luassert.spec index 2e089c4..35de280 100644 --- a/lua-luassert.spec +++ b/lua-luassert.spec @@ -1,7 +1,7 @@ # # spec file for package lua-luassert # -# 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 @@ -29,10 +29,7 @@ BuildRequires: %{flavor}-devel BuildRequires: %{flavor}-say Requires: %{flavor} BuildArch: noarch -%if "%{flavor}" == "lua53" -Provides: lua-luassert = %{version} -Obsoletes: lua-luassert < %{version} -%endif +%lua_provides %if "%{flavor}" == "" Name: lua-luassert ExclusiveArch: do_not_build