forked from pool/lua-macros
- Split out from main lua packages to keep just one version for all
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-macros?expand=0&rev=1
This commit is contained in:
10
macros.lua
Normal file
10
macros.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
# 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}
|
Reference in New Issue
Block a user