10
0

Accepting request 819790 from devel:languages:lua

- Add lua54 as new build target

OBS-URL: https://build.opensuse.org/request/show/819790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-mediator_lua?expand=0&rev=2
This commit is contained in:
2020-07-15 12:56:17 +00:00
committed by Git OBS Bridge
3 changed files with 10 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
<multibuild>
<package>lua51</package>
<package>lua53</package>
<package>lua54</package>
</multibuild>

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 6 19:07:03 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add lua54 as new build target
-------------------------------------------------------------------
Tue Oct 29 17:35:49 CET 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package lua-mediator_lua
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,11 +24,11 @@ Release: 0
Summary: Command-line argument parsing module for Lua
License: MIT
Group: Development/Libraries/Other
Url: https://github.com/Olivine-Labs/mediator_lua
URL: https://github.com/Olivine-Labs/mediator_lua
Source: https://github.com/Olivine-Labs/mediator_lua/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
BuildRequires: %{flavor}-devel
BuildArch: noarch
Requires: %{flavor}
BuildArch: noarch
%if "%{flavor}" == "lua53"
Provides: lua-mediator_lua = %{version}
Obsoletes: lua-mediator_lua < %{version}
@@ -55,7 +55,6 @@ mediator_lua allows you to define required, optional, and flag arguments.
%install
install -v -D -m 0644 -p -t %{buildroot}%{lua_noarchdir} src/mediator.lua
%files
%{lua_noarchdir}/mediator*