diff --git a/lua-lpeg.changes b/lua-lpeg.changes index 6f45ebc..775aa61 100644 --- a/lua-lpeg.changes +++ b/lua-lpeg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 9 14:56:17 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:04:19 UTC 2020 - Matej Cepl diff --git a/lua-lpeg.spec b/lua-lpeg.spec index ef122a2..42c7f34 100644 --- a/lua-lpeg.spec +++ b/lua-lpeg.spec @@ -1,7 +1,7 @@ # # spec file for package lua-lpeg # -# 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 @@ -28,10 +28,7 @@ URL: http://www.inf.puc-rio.br/~roberto/lpeg Source: http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-%{version}.tar.gz BuildRequires: %{flavor}-devel Requires: %{flavor} -%if "%{flavor}" == "lua53" -Provides: lua-%{mod_name} = %{version} -Obsoletes: lua-%{mod_name} < %{version} -%endif +%lua_provides %if "%{flavor}" == "" Name: lua-%{mod_name} ExclusiveArch: do_not_build