4 Commits

5 changed files with 27 additions and 9 deletions

View File

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

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Nov 6 10:06:12 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Change to the new upstream and using expected version number.
-------------------------------------------------------------------
Fri Oct 24 14:47:26 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Switch off building lua51 build of the package.
-------------------------------------------------------------------
Mon Oct 20 18:34:42 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Add luajit version to _multibuild
-------------------------------------------------------------------
Wed Nov 23 10:15:37 UTC 2022 - Michal Suchanek <msuchanek@suse.com>

View File

@@ -19,19 +19,22 @@
%define flavor @BUILD_FLAVOR@
%define mod_name luacliargs
%define rname lua_cliargs
%define upversion 3.0-2
Version: 3.02
Version: 3.0.2
Release: 0
Summary: Command-line argument parsing module for Lua
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/amireh/lua_cliargs
Source: https://github.com/amireh/lua_cliargs/archive/v%{upversion}.tar.gz#/%{rname}-%{upversion}.tar.gz
URL: https://github.com/lunarmodules/lua_cliargs
Source: https://github.com/lunarmodules/lua_cliargs/archive/refs/tags/v%{version}.tar.gz#/%{rname}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: lua-macros
Requires: %{flavor}
BuildArch: noarch
%lua_provides
# Temporary workaround, while changing the numbering scheme
%if "%{flavor}" == "luajit"
Obsoletes: lua51-cliargs <= 3.02
%endif
%if "%{flavor}" == ""
Name: lua-cliargs
ExclusiveArch: do_not_build
@@ -46,7 +49,7 @@ notations and argument types.
cliargs allows you to define required, optional, and flag arguments.
%prep
%setup -q -n %{rname}-%{upversion}
%setup -q -n %{rname}-%{version}
%build
/bin/true

BIN
lua_cliargs-3.0-2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
lua_cliargs-3.0.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.