SHA256
10
0
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:
Tomáš Chvátal
2017-07-10 11:32:00 +00:00
committed by Git OBS Bridge
commit 8c1c99eb64
5 changed files with 82 additions and 0 deletions

10
macros.lua Normal file
View 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}