File macros.lua of Package lua51.5395

# RPM macros for Lua

# The major.minor version of Lua
%lua_version %(lua5.1 -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}