forked from pool/lua-editorconfig-core-lua
Don't depend on lua5.1
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 11 15:00:34 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Don't depend on lua5.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 10 08:28:46 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
# %%define flavor @BUILD_FLAVOR@
|
||||
%define flavor luajit
|
||||
%define _name lgi
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name editorconfig-core-lua
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
@@ -69,12 +67,11 @@ as the Editorconfig C Core library.
|
||||
%check
|
||||
cd build
|
||||
export LUA_CPATH="./?.so;%{lua_archdir}/?.so;${LUA_CPATH}"
|
||||
lua%{lua_version} ../editorconfig.lua -v
|
||||
lua ../editorconfig.lua -v
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%dir %{lua_archdir}
|
||||
%{lua_archdir}/*
|
||||
%{lua_archdir}/editorconfig.so
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user