summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <jwrdegoede@fedoraproject.org>2007-10-21 18:02:12 +0000
committerHans de Goede <jwrdegoede@fedoraproject.org>2007-10-21 18:02:12 +0000
commit4ad1de21c274a5ebfe6e1ef2e5848ac90f23ec98 (patch)
treefaaf17b5550bf6c5c2d9b09ef7c159795f52376f
parent81d929317c323884b4153926921cccccc12fc775 (diff)
downloadlua-4ad1de21c274a5ebfe6e1ef2e5848ac90f23ec98.tar.gz
lua-4ad1de21c274a5ebfe6e1ef2e5848ac90f23ec98.tar.xz
lua-4ad1de21c274a5ebfe6e1ef2e5848ac90f23ec98.zip
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-3lua-5_1_2-3_fc9
- Also use lib64 instead of lib on ia64 and sparc64
-rw-r--r--lua-5.1.2-multilib.patch5
-rw-r--r--lua.spec5
2 files changed, 7 insertions, 3 deletions
diff --git a/lua-5.1.2-multilib.patch b/lua-5.1.2-multilib.patch
index cb9d278..d39f002 100644
--- a/lua-5.1.2-multilib.patch
+++ b/lua-5.1.2-multilib.patch
@@ -1,12 +1,13 @@
diff -up lua-5.1.2/src/luaconf.h.template.in~ lua-5.1.2/src/luaconf.h.template.in
--- lua-5.1.2/src/luaconf.h.template.in~ 2007-10-21 19:33:30.000000000 +0200
+++ lua-5.1.2/src/luaconf.h.template.in 2007-10-21 19:33:30.000000000 +0200
-@@ -98,7 +98,11 @@
+@@ -98,7 +98,12 @@
/** autotools-patch **/
#define LUA_LDIR "%lua_datadir%/lua/5.1/"
-#define LUA_CDIR "%lua_libdir%/lua/5.1/"
-+#if defined __alpha__ || defined __powerpc64__ || defined __s390x__ || defined __x86_64__
++#if defined __alpha__ || defined __ia64__ || defined __powerpc64__ || \
++ defined __s390x__ || defined __sparc64__ || defined __x86_64__
+#define LUA_CDIR "/usr/lib64/lua/5.1/"
+#else
+#define LUA_CDIR "/usr/lib/lua/5.1/"
diff --git a/lua.spec b/lua.spec
index a51a637..c5d9e2b 100644
--- a/lua.spec
+++ b/lua.spec
@@ -1,6 +1,6 @@
Name: lua
Version: 5.1.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Powerful light-weight programming language
Group: Development/Languages
License: MIT
@@ -77,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* 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
+
* Sun Oct 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.2-2
- Fix multilib condlict in luaconf.h (bz 342561)