SHA256
1
0
forked from pool/lua51

Accepting request 99319 from devel:languages:misc

- 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
This commit is contained in:
Stephan Kulow
2012-01-07 14:58:03 +00:00
committed by Git OBS Bridge
parent 6136bef7c5
commit 72f8b90ff8
10 changed files with 718 additions and 6 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}