commit lua51 for openSUSE:Factory
Hello community, here is the log from the commit of package lua51 for openSUSE:Factory checked in at 2014-05-03 16:51:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua51 (Old) and /work/SRC/openSUSE:Factory/.lua51.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lua51" Changes: -------- --- /work/SRC/openSUSE:Factory/lua51/lua51.changes 2014-04-25 16:06:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lua51.new/lua51.changes 2014-05-03 16:51:42.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 1 06:59:04 UTC 2014 - mailaender@opensuse.org + +- Added a softlink to retain compatibility with .so naming from + the DEB world which is the quasi standard in gaming nowadays. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua51.spec ++++++ --- /var/tmp/diff_new_pack.EuIae1/_old 2014-05-03 16:51:43.000000000 +0200 +++ /var/tmp/diff_new_pack.EuIae1/_new 2014-05-03 16:51:43.000000000 +0200 @@ -113,21 +113,22 @@ %build sed -i 's:LUA_ROOT2 "LIBDIR/lua/%{major_version}/":LUA_ROOT2 \"%{_lib}/lua/%{major_version}/":' src/luaconf.h -make %{?_smp_mflags} -C src CC="%{__cc}" MYCFLAGS="$RPM_OPT_FLAGS -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all +make %{?_smp_mflags} -C src CC="%{__cc}" MYCFLAGS="%{optflags} -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_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 +make install INSTALL_TOP="%{buildroot}%{_prefix}" INSTALL_LIB="%{buildroot}%{_libdir}" INSTALL_CMOD=%{buildroot}%{_libdir}/lua/%{major_version} INSTALL_MAN="%{buildroot}%{_mandir}/man1" +install -D -m644 etc/lua.pc %{buildroot}%{_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 -m 0755 %{buildroot}%{_libdir}/lua/%{major_version} +install -d -m 0755 %{buildroot}%{_datadir}/lua/%{major_version} install -D %{SOURCE1} %buildroot/etc/rpm/macros.lua51 -%clean -rm -rf $RPM_BUILD_ROOT +# Debian/Ubuntu/SteamOS/Arch Linux compatibility +ln -s %{_libdir}/liblua.so.%{major_version} %{buildroot}%{_libdir}/liblua%{major_version}.so.0 +ln -s %{_libdir}/liblua.so %{buildroot}%{_libdir}/liblua5.1.so %post /usr/sbin/update-alternatives --install \ @@ -161,6 +162,7 @@ %files -n liblua5_1 %defattr(-,root,root) %{_libdir}/liblua.so.%{major_version} +%{_libdir}/liblua%{major_version}.so.0 %files devel %defattr(-,root,root) @@ -172,6 +174,7 @@ %{_libdir}/pkgconfig/lua.pc %{_libdir}/liblua.a %{_libdir}/liblua.so +%{_libdir}/liblua5.1.so %files doc %defattr(-,root,root) -- 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