Fix lib64 at luaconf.h
[platform/upstream/lua.git] / packaging / macros.lua
1 # RPM macros for Lua
2
3 # The major.minor version of Lua
4 %lua_version %(lua -e 'print(_VERSION)' | cut -d ' ' -f 2)
5
6 # compiled modules should go here
7 %lua_archdir %{_libdir}/lua/%{lua_version}
8
9 # pure Lua modules should go here
10 %lua_noarchdir %{_datadir}/lua/%{lua_version}