From e4916e746319b0d673bb1e0b3c08bd48e6ec1e7d691284227d4cc82484e5acb0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 18 Feb 2021 18:28:20 +0000 Subject: [PATCH] Accepting request 873469 from home:gmbr3:Lua upd OBS-URL: https://build.opensuse.org/request/show/873469 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-ldoc?expand=0&rev=9 --- lua-ldoc.changes | 5 +++++ lua-ldoc.spec | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lua-ldoc.changes b/lua-ldoc.changes index 2b335ba..0feae12 100644 --- a/lua-ldoc.changes +++ b/lua-ldoc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 18 15:51:29 UTC 2021 - Callum Farmer + +- Use %lua_provides macro for default lua versioning + ------------------------------------------------------------------- Mon Jul 6 19:03:50 UTC 2020 - Matej Cepl diff --git a/lua-ldoc.spec b/lua-ldoc.spec index e321af6..6027634 100644 --- a/lua-ldoc.spec +++ b/lua-ldoc.spec @@ -28,10 +28,7 @@ Source: https://github.com/stevedonovan/LDoc/archive/%{version}.tar.gz#/ BuildRequires: %{flavor}-devel BuildArch: noarch Requires: %{flavor} -%if "%{flavor}" == "lua53" -Provides: lua-ldoc = %{version} -Obsoletes: lua-ldoc < %{version} -%endif +%lua_provides %if "%{flavor}" == "" Name: lua-ldoc ExclusiveArch: do_not_build