8c1c99eb64
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-macros?expand=0&rev=1
11 lines
273 B
Lua
11 lines
273 B
Lua
# 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}
|