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>
|
Fri Oct 10 08:28:46 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# %%define flavor @BUILD_FLAVOR@
|
%define flavor @BUILD_FLAVOR@
|
||||||
%define flavor luajit
|
|
||||||
%define _name lgi
|
|
||||||
%define mod_name editorconfig-core-lua
|
%define mod_name editorconfig-core-lua
|
||||||
Version: 0.3.0
|
Version: 0.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -69,12 +67,11 @@ as the Editorconfig C Core library.
|
|||||||
%check
|
%check
|
||||||
cd build
|
cd build
|
||||||
export LUA_CPATH="./?.so;%{lua_archdir}/?.so;${LUA_CPATH}"
|
export LUA_CPATH="./?.so;%{lua_archdir}/?.so;${LUA_CPATH}"
|
||||||
lua%{lua_version} ../editorconfig.lua -v
|
lua ../editorconfig.lua -v
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%dir %{lua_archdir}
|
%{lua_archdir}/editorconfig.so
|
||||||
%{lua_archdir}/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user