From 9f4641c20107531a8a55efbde21b5d93ff48b75c0bab45490bc7b039cb44b294 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 18 Feb 2021 18:04:07 +0000 Subject: [PATCH] Accepting request 873486 from home:gmbr3:Lua upd OBS-URL: https://build.opensuse.org/request/show/873486 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-markdown?expand=0&rev=6 --- lua-markdown.changes | 5 +++++ lua-markdown.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lua-markdown.changes b/lua-markdown.changes index f954bbb..1e59bc0 100644 --- a/lua-markdown.changes +++ b/lua-markdown.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 18 16:00:13 UTC 2021 - Callum Farmer + +- Use %lua_provides macro for default lua versioning + ------------------------------------------------------------------- Mon Jul 6 19:06:55 UTC 2020 - Matej Cepl diff --git a/lua-markdown.spec b/lua-markdown.spec index 1843658..68e4d66 100644 --- a/lua-markdown.spec +++ b/lua-markdown.spec @@ -28,15 +28,12 @@ Source: https://github.com/mpeterv/markdown/archive/%{upversion}.tar.gz# BuildRequires: %{flavor}-devel Requires: %{flavor} BuildArch: noarch -%if "%{flavor}" == "lua53" -Provides: lua-markdown = %{version} -Obsoletes: lua-markdown < %{version} -%endif +%lua_provides %if "%{flavor}" == "" -Name: lua-markdown +Name: lua-%{mod_name} ExclusiveArch: do_not_build %else -Name: %{flavor}-markdown +Name: %{flavor}-%{mod_name} %endif %description