SHA256
12
0
forked from pool/lua-cliargs

Accepting request 819811 from devel:languages:lua

- Add lua54 as new build target

OBS-URL: https://build.opensuse.org/request/show/819811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-cliargs?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2020-07-15 12:58:51 +00:00 committed by Git OBS Bridge
commit d781a79684
3 changed files with 11 additions and 6 deletions

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 6 19:02:21 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add lua54 as new build target
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 19 19:08:01 CEST 2019 - Matej Cepl <mcepl@suse.com> Sun May 19 19:08:01 CEST 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package lua-luacliargs # spec file for package lua-cliargs
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Summary: Command-line argument parsing module for Lua
License: MIT License: MIT
Group: Development/Libraries/Other Group: Development/Libraries/Other
Url: https://github.com/amireh/lua_cliargs URL: https://github.com/amireh/lua_cliargs
Source: https://github.com/amireh/lua_cliargs/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz Source: https://github.com/amireh/lua_cliargs/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
BuildRequires: %{flavor}-devel BuildRequires: %{flavor}-devel
BuildArch: noarch
Requires: %{flavor} Requires: %{flavor}
BuildArch: noarch
%if "%{flavor}" == "lua53" %if "%{flavor}" == "lua53"
Provides: lua-luacliargs = %{version} Provides: lua-luacliargs = %{version}
Obsoletes: lua-luacliargs < %{version} Obsoletes: lua-luacliargs < %{version}
@ -56,7 +56,6 @@ cliargs allows you to define required, optional, and flag arguments.
install -v -D -m 0644 -p -t %{buildroot}%{lua_noarchdir} src/cliargs.lua install -v -D -m 0644 -p -t %{buildroot}%{lua_noarchdir} src/cliargs.lua
cp -v -r -p src/cliargs %{buildroot}%{lua_noarchdir} cp -v -r -p src/cliargs %{buildroot}%{lua_noarchdir}
%files %files
%dir %{lua_noarchdir}/cliargs %dir %{lua_noarchdir}/cliargs
%{lua_noarchdir}/cliargs* %{lua_noarchdir}/cliargs*