SPECS: lua51.spec - change LUA_ROOT /usr/local to /usr, so can use various ...

uzsolt uzsolt at pld-linux.org
Mon Sep 15 20:57:23 CEST 2008


Author: uzsolt                       Date: Mon Sep 15 18:57:23 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- change LUA_ROOT /usr/local to /usr, so can use various lua-moduls from packages
- release 3

---- Files affected:
SPECS:
   lua51.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/lua51.spec
diff -u SPECS/lua51.spec:1.7 SPECS/lua51.spec:1.8
--- SPECS/lua51.spec:1.7	Tue Feb  5 22:11:52 2008
+++ SPECS/lua51.spec	Mon Sep 15 20:57:17 2008
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Prosty, lekki ale potężny, osadzalny język programowania
 Name:		lua51
 Version:	5.1.3
-Release:	2
+Release:	3
 License:	MIT
 Group:		Development/Languages
 Source0:	http://www.lua.org/ftp/lua-%{version}.tar.gz
@@ -16,6 +16,7 @@
 URL:		http://www.lua.org/
 %{?with_luastatic:BuildRequires:       dietlibc-devel}
 BuildRequires:	readline-devel
+BuildRequires:	sed >= 4.0
 Requires:	%{name}-libs = %{version}-%{release}
 Provides:	lua = %{version}
 Obsoletes:	lua < 4.0.1
@@ -85,7 +86,7 @@
 Biblioteki statyczne Lua.
 
 %package luastatic
-Summary:        Static Lua interpreter
+Summary:	Static Lua interpreter
 Summary(pl.UTF-8):	Statycznie skonsolidowany interpreter lua
 Group:		Development/Languages
 
@@ -98,6 +99,7 @@
 %prep
 %setup -q -n lua-%{version}
 %patch0 -p1
+sed -r -i 's|(#define LUA_ROOT.*)%{_prefix}/local/|\1%{_prefix}/|g' src/luaconf.h
 
 %build
 %if %{with luastatic}
@@ -204,6 +206,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008/09/15 18:57:17  uzsolt
+- change LUA_ROOT /usr/local to /usr, so can use various lua-moduls from packages
+- release 3
+
 Revision 1.7  2008/02/05 21:11:52  glen
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lua51.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list