* Mon Nov 26 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-4

- Fix libdir in lua.pc being /usr/lib on x86_64 (bz 399101)
This commit is contained in:
Hans de Goede 2007-11-26 08:44:36 +00:00
parent 4ad1de21c2
commit 9892d09579
2 changed files with 22 additions and 1 deletions

View File

@ -15,3 +15,21 @@ diff -up lua-5.1.2/src/luaconf.h.template.in~ lua-5.1.2/src/luaconf.h.template.i
/** autotools-patch **/
#define LUA_PATH_DEFAULT \
diff -up lua-5.1.2/etc/lua.pc.in~ lua-5.1.2/etc/lua.pc.in
--- lua-5.1.2/etc/lua.pc.in~ 2007-11-26 09:35:47.000000000 +0100
+++ lua-5.1.2/etc/lua.pc.in 2007-11-26 09:35:47.000000000 +0100
@@ -2,12 +2,12 @@ V= 5.1
R= 5.1.2
prefix= @prefix@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir= @libdir@
includedir=${prefix}/include
Name: Lua
Description: An Extensible Extension Language
Version: ${R}
Requires:
-Libs: -L${libdir} -llua @LUA_LIBS@
+Libs: -llua @LUA_LIBS@
Cflags: -I${includedir}

View File

@ -1,6 +1,6 @@
Name: lua
Version: 5.1.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Powerful light-weight programming language
Group: Development/Languages
License: MIT
@ -77,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Nov 26 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-4
- Fix libdir in lua.pc being /usr/lib on x86_64 (bz 399101)
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-3
- Also use lib64 instead of lib on ia64 and sparc64