forked from pool/lua-penlight
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
f43eb9acbf
|
|||
|
a6e71fdcb5
|
|||
|
6a8a4853f6
|
|||
|
feda1f79a7
|
@@ -1,5 +1,5 @@
|
||||
<multibuild>
|
||||
<package>lua51</package>
|
||||
<package>luajit</package>
|
||||
<package>lua53</package>
|
||||
<package>lua54</package>
|
||||
</multibuild>
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 24 14:50:46 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Switch off building lua51 build of the package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 12 00:08:17 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Make the package build with LuaJIT.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 16:05:42 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
%define flavor @BUILD_FLAVOR@%{nil}
|
||||
%define mod_name penlight
|
||||
%define rname Penlight
|
||||
%ifluadefault
|
||||
%if "%{lua_version_nodots}" == "%{lua_version_default_nodots}"
|
||||
%define with_main 1
|
||||
%endif
|
||||
Version: 1.14.0
|
||||
@@ -75,18 +75,16 @@ cp -av lua/pl %{buildroot}%{lua_noarchdir}
|
||||
chmod -x %{buildroot}%{lua_noarchdir}/pl/dir.lua
|
||||
|
||||
# build and install README etc.
|
||||
lua%{lua_version} %{lua_noarchdir}/markdown.lua *.md
|
||||
lua %{lua_noarchdir}/markdown.lua *.md
|
||||
|
||||
%check
|
||||
LUA_PATH="%{buildroot}%{lua_noarchdir}/?/init.lua;%{buildroot}%{lua_noarchdir}/?.lua;;" \
|
||||
lua%{lua_version} run.lua tests
|
||||
lua run.lua tests
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%doc README.md *.html
|
||||
%{lua_noarchdir}/pl
|
||||
# Add bash/zsh-completion files
|
||||
# from completions/bash/penlight.bash penlight
|
||||
|
||||
%if 0%{?with_main}
|
||||
%files -n lua-%{mod_name}-doc
|
||||
|
||||
Reference in New Issue
Block a user