3 # The major.minor version of Lua
4 %lua_version %(lua -e 'print(_VERSION)' | cut -d ' ' -f 2)
6 # compiled modules should go here
7 %lua_archdir %{_libdir}/lua/%{lua_version}
9 # pure Lua modules should go here
10 %lua_noarchdir %{_datadir}/lua/%{lua_version}