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