* Sat Jan 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.3-1
- New upstream release 5.1.3
This commit is contained in:
parent
9892d09579
commit
4c4144dc8d
@ -1,2 +1 @@
|
||||
lua-5.1.1-autotoolize.patch.gz
|
||||
lua-5.1.2.tar.gz
|
||||
lua-5.1.3.tar.gz
|
||||
|
@ -1,35 +0,0 @@
|
||||
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,12 @@
|
||||
|
||||
/** autotools-patch **/
|
||||
#define LUA_LDIR "%lua_datadir%/lua/5.1/"
|
||||
-#define LUA_CDIR "%lua_libdir%/lua/5.1/"
|
||||
+#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/"
|
||||
+#endif
|
||||
/** 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}
|
43652
lua-5.1.3-autotoolize.patch
Normal file
43652
lua-5.1.3-autotoolize.patch
Normal file
File diff suppressed because it is too large
Load Diff
11
lua.spec
11
lua.spec
@ -1,13 +1,12 @@
|
||||
Name: lua
|
||||
Version: 5.1.2
|
||||
Release: 4%{?dist}
|
||||
Version: 5.1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Powerful light-weight programming language
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
URL: http://www.lua.org/
|
||||
Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
|
||||
Patch0: lua-5.1.1-autotoolize.patch.gz
|
||||
Patch1: lua-5.1.2-multilib.patch
|
||||
Patch0: lua-5.1.3-autotoolize.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: readline-devel ncurses-devel
|
||||
|
||||
@ -35,7 +34,6 @@ This package contains development files for %{name}.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -E -z .autoxxx
|
||||
%patch1 -p1 -z .multilib
|
||||
# fix perms on auto files
|
||||
chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing
|
||||
|
||||
@ -77,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jan 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 5.1.3-1
|
||||
- New upstream release 5.1.3
|
||||
|
||||
* 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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user