SHA256
12
0
forked from pool/lua-cliargs

Accepting request 871174 from devel:languages:lua

OBS-URL: https://build.opensuse.org/request/show/871174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-cliargs?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2021-02-11 11:49:49 +00:00 committed by Git OBS Bridge
commit fca5c3ea15
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 11 09:52:51 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:02:21 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -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