2017-07-10 13:32:00 +02:00
|
|
|
# RPM macros for Lua
|
|
|
|
|
|
|
|
# The major.minor version of Lua
|
|
|
|
%lua_version %(lua -e 'print(_VERSION)' | cut -d ' ' -f 2)
|
|
|
|
|
|
|
|
# compiled modules should go here
|
|
|
|
%lua_archdir %{_libdir}/lua/%{lua_version}
|
|
|
|
|
|
|
|
# pure Lua modules should go here
|
|
|
|
%lua_noarchdir %{_datadir}/lua/%{lua_version}
|
2017-07-11 10:24:39 +02:00
|
|
|
|
|
|
|
# lua includes folder
|
|
|
|
%lua_incdir %{_includedir}/lua%{lua_version}
|