Make the package buildable with LuaJIT.

This commit is contained in:
2025-10-12 22:15:33 +02:00
parent 888aa59170
commit 2e2921182d
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Oct 12 20:15:27 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Make the package buildable with LuaJIT.
-------------------------------------------------------------------
Mon Jun 30 14:42:51 UTC 2025 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -38,7 +38,8 @@ Obsoletes: %{flavor}-jsregexp < %{version}
%endif
%description
Provides ECMAScript regular expressions for Lua 5.1, 5.2, 5.3, 5.4 and LuaJit. Uses libregexp from Fabrice Bellard's QuickJS.
Provides ECMAScript regular expressions for Lua 5.1, 5.2, 5.3,
5.4 and LuaJit. Uses libregexp from Fabrice Bellard's QuickJS.
%prep
%setup -q -n jsregexp-%{version}
@@ -61,7 +62,7 @@ mkdir -p %{buildroot}%{lua_noarchdir}
install jsregexp.so %{buildroot}%{lua_archdir}
%check
%{_bindir}/lua%{lua_version} test.lua
%{_bindir}/lua test.lua
%files
%license LICENSE