forked from pool/lua51
72f8b90ff8
- lua51 branched from lua package - cross-build fix: use %__cc macro - use %_smp_mflags - removed -L/usr/lib from Libs: in etc/lua.pc [bnc#613497] - used upstream bugfix patch from http://www.lua.org/download.html - buildrequire pkg-config to fix provides - modified LUA_PATH_DEFAULT [bnc#589441]: search modules under /usr/%{_lib}/lua/%{major_version} too - add baselibs.conf as a source - package documentation as noarch - enable parallel building - updated patches to apply with fuzz=0 - add baselibs.conf - package owns /usr/{lib,share}/lua directories from now - emoved unneeded root.patch - updated to 5.1.4: bugfix release - Set LUA_ROOT to /usr and fix INSTALL_CMOD for lib64 OBS-URL: https://build.opensuse.org/request/show/99319 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua51?expand=0&rev=2
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}
|