Hello community, here is the log from the commit of package lua for openSUSE:Factory checked in at Mon Jun 8 23:53:57 CEST 2009. -------- --- lua/lua.changes 2008-09-11 16:01:49.000000000 +0200 +++ /mounts/work_src_done/STABLE/lua/lua.changes 2009-06-08 16:09:12.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jun 8 15:57:11 CEST 2009 - pgajdos@suse.cz + +- package owns /usr/{lib,share}/lua directories from now +- emoved unneeded root.patch + +------------------------------------------------------------------- @@ -6,0 +13,7 @@ +Wed Jun 11 10:56:51 ADT 2008 - jfunk@funktronics.ca + +- Set LUA_ROOT to /usr and fix INSTALL_CMOD for lib64 +- Add RPM macros file +- Allows for lua-<modulename> packages like python, perl, and ruby + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- macros.lua ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua.spec ++++++ --- /var/tmp/diff_new_pack.f14668/_old 2009-06-08 23:53:23.000000000 +0200 +++ /var/tmp/diff_new_pack.f14668/_new 2009-06-08 23:53:23.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package lua (Version 5.1.4) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: lua Version: 5.1.4 -Release: 1 +Release: 4 %define major_version 5.1 License: X11/MIT Group: System/Libraries @@ -30,6 +30,7 @@ Summary: Small Embeddable Language with Simple Procedural Syntax Url: http://www.lua.org Source: %{name}-%{version}.tar.bz2 +Source1: macros.lua Patch0: %{name}-%{version}-shared.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -144,12 +145,15 @@ make -C src MYCFLAGS="$RPM_OPT_FLAGS -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all %install -make install INSTALL_TOP="$RPM_BUILD_ROOT%{_prefix}" INSTALL_LIB="$RPM_BUILD_ROOT%{_libdir}" INSTALL_MAN="$RPM_BUILD_ROOT%{_mandir}/man1" +make install INSTALL_TOP="$RPM_BUILD_ROOT%{_prefix}" INSTALL_LIB="$RPM_BUILD_ROOT%{_libdir}" INSTALL_CMOD=$RPM_BUILD_ROOT%{_libdir}/lua/%{major_version} INSTALL_MAN="$RPM_BUILD_ROOT%{_mandir}/man1" install -D -m644 etc/lua.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/lua.pc for file in lua luac ; do mv "%{buildroot}%{_bindir}/${file}" "%{buildroot}%{_bindir}/${file}%{major_version}" mv "%{buildroot}%{_mandir}/man1/${file}.1" "%{buildroot}%{_mandir}/man1/${file}%{major_version}.1" done +install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/lua/%{major_version} +install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lua/%{major_version} +install -D %{SOURCE1} %buildroot/etc/rpm/macros.lua %clean rm -rf $RPM_BUILD_ROOT @@ -177,6 +181,11 @@ %{_mandir}/man1/luac%{major_version}.1* %{_prefix}/bin/lua%{major_version} %{_prefix}/bin/luac%{major_version} +%dir %{_libdir}/lua +%dir %{_libdir}/lua/%{major_version} +%dir %{_datadir}/lua +%dir %{_datadir}/lua/%{major_version} +/etc/rpm/macros.lua %files -n liblua5_1 %defattr(-,root,root) @@ -198,8 +207,15 @@ %doc doc/* %changelog +* Mon Jun 08 2009 pgajdos@suse.cz +- package owns /usr/{lib,share}/lua directories from now +- emoved unneeded root.patch * Thu Sep 11 2008 pgajdos@suse.cz - updated to 5.1.4: bugfix release +* Wed Jun 11 2008 jfunk@funktronics.ca +- Set LUA_ROOT to /usr and fix INSTALL_CMOD for lib64 +- Add RPM macros file +- Allows for lua-<modulename> packages like python, perl, and ruby * Fri Mar 28 2008 coolo@suse.de - hint the solver about the package rename * Wed Mar 26 2008 coolo@suse.de @@ -243,7 +259,7 @@ * Thu Nov 09 2006 mrueckert@suse.de - splitted out lua-libs so we can install at least both libs in parallel. (#217875) -* Fri Oct 20 2006 dmueller@suse.de +* Thu Oct 19 2006 dmueller@suse.de - fix wrong prefix in lua.pc - link liblua with -lm to satisfy unresolved symbols * Thu Oct 19 2006 mjancar@suse.cz ++++++ macros.lua ++++++ # RPM macros for Lua # The major.minor version of Lua %lua_version %(lua -e 'print(_VERSION)' | cut -d ' ' -f 2) # compiled modules should go here %lua_archdir %{_libdir}/lua/%{lua_version} # pure Lua modules should go here %lua_noarchdir %{_datadir}/lua/%{lua_version} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org