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