commit lua for openSUSE:Factory
Hello community, here is the log from the commit of package lua for openSUSE:Factory checked in at Wed Mar 31 18:49:22 CEST 2010. -------- --- lua/lua.changes 2009-12-16 10:38:45.000000000 +0100 +++ /mounts/work_src_done/STABLE/lua/lua.changes 2010-03-29 15:48:08.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Mar 23 11:16:23 CET 2010 - pgajdos@suse.cz + +- modified LUA_PATH_DEFAULT [bnc#589441]: search modules under + /usr/%{_lib}/lua/%{major_version} too + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- lua-5.1.4-module-path.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua.spec ++++++ --- /var/tmp/diff_new_pack.P44HIC/_old 2010-03-31 18:49:08.000000000 +0200 +++ /var/tmp/diff_new_pack.P44HIC/_new 2010-03-31 18:49:08.000000000 +0200 @@ -20,7 +20,7 @@ Name: lua Version: 5.1.4 -Release: 7 +Release: 8 %define major_version 5.1 License: MIT License (or similar) Group: System/Libraries @@ -33,6 +33,7 @@ Source1: macros.lua Source2: baselibs.conf Patch0: %{name}-%{version}-shared.diff +Patch1: %{name}-%{version}-module-path.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -144,8 +145,10 @@ %prep %setup -q %patch0 -b .shared +%patch1 -p1 %build +sed -i 's:LUA_ROOT2 "LIBDIR/lua/%{major_version}/":LUA_ROOT2 \"%{_lib}/lua/%{major_version}/":' src/luaconf.h make %{?jobs:-j%jobs} -C src MYCFLAGS="$RPM_OPT_FLAGS -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all %install ++++++ lua-5.1.4-module-path.diff ++++++ diff -urNad trunk~/src/luaconf.h trunk/src/luaconf.h --- trunk~/src/luaconf.h 2006-02-10 12:44:06.000000000 -0500 +++ trunk/src/luaconf.h 2006-02-17 21:32:55.000000000 -0500 @@ -83,13 +83,17 @@ #else #define LUA_ROOT "/usr/local/" +#define LUA_ROOT2 "/usr/" #define LUA_LDIR LUA_ROOT "share/lua/5.1/" +#define LUA_LDIR2 LUA_ROOT2 "share/lua/5.1/" #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" +#define LUA_CDIR2 LUA_ROOT2 "LIBDIR/lua/5.1/" #define LUA_PATH_DEFAULT \ "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ - LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua" + LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \ + LUA_LDIR2"?.lua;" LUA_LDIR2"?/init.lua" #define LUA_CPATH_DEFAULT \ - "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so" + "./?.so;" LUA_CDIR"?.so;" LUA_CDIR2"?.so;" LUA_CDIR"loadall.so" #endif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de