From 1377f4ec78190e0757be9ae12691dc3179157bfb5498d7f5346f5c732a4f5063 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 11 Feb 2021 10:56:06 +0000 Subject: [PATCH] Accepting request 871157 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/871157 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-cliargs?expand=0&rev=7 --- lua-cliargs.changes | 6 ++++++ lua-cliargs.spec | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lua-cliargs.changes b/lua-cliargs.changes index 866c6fa..6cc7f70 100644 --- a/lua-cliargs.changes +++ b/lua-cliargs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 11 09:52:51 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:02:21 UTC 2020 - Matej Cepl diff --git a/lua-cliargs.spec b/lua-cliargs.spec index 1f047e8..d164815 100644 --- a/lua-cliargs.spec +++ b/lua-cliargs.spec @@ -1,7 +1,7 @@ # # spec file for package lua-cliargs # -# 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 @@ Source: https://github.com/amireh/lua_cliargs/archive/v%{upversion}.tar. BuildRequires: %{flavor}-devel Requires: %{flavor} BuildArch: noarch -%if "%{flavor}" == "lua53" -Provides: lua-luacliargs = %{version} -Obsoletes: lua-luacliargs < %{version} -%endif +%lua_provides %if "%{flavor}" == "" Name: lua-cliargs ExclusiveArch: do_not_build