From d37ffdc5703e709acdd3e714dca05455b08cfb12476b4ed372d334f36c60c980 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 18 Feb 2021 17:30:37 +0000 Subject: [PATCH] Accepting request 873495 from home:gmbr3:Lua upd OBS-URL: https://build.opensuse.org/request/show/873495 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-slaxml?expand=0&rev=2 --- lua-slaxml.changes | 5 +++++ lua-slaxml.spec | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lua-slaxml.changes b/lua-slaxml.changes index 339a78f..c4cdeaf 100644 --- a/lua-slaxml.changes +++ b/lua-slaxml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 18 16:03:16 UTC 2021 - Callum Farmer + +- Use %lua_provides macro for default lua versioning + ------------------------------------------------------------------- Tue Jan 19 11:18:48 UTC 2021 - mcepl@suse.com diff --git a/lua-slaxml.spec b/lua-slaxml.spec index 46a5995..dfa12d6 100644 --- a/lua-slaxml.spec +++ b/lua-slaxml.spec @@ -28,10 +28,7 @@ Source: lua-slaxml-%{version}.tar.xz BuildRequires: %{flavor}-devel BuildArch: noarch Requires: %{flavor} -%if "%{flavor}" == "lua51" -Provides: lua-%{mod_name} = %{version} -Obsoletes: lua-%{mod_name} < %{version} -%endif +%lua_provides %if "%{flavor}" == "" Name: lua-%{mod_name} ExclusiveArch: do_not_build