forked from pool/lua-lpeg
Accepting request 870699 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/870699 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lpeg?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 9 14:56:17 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user