commit lua51 for openSUSE:Factory
Hello community, here is the log from the commit of package lua51 for openSUSE:Factory checked in at 2014-09-15 17:39:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-05-03 16:51:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lua51.new/lua51.changes 2014-09-15 17:40:05.000000000 +0200 @@ -1,0 +2,10 @@ +Fri Sep 12 09:18:50 UTC 2014 - pgajdos@suse.com + +- fix update-alternatives + +------------------------------------------------------------------- +Wed Sep 10 10:20:31 UTC 2014 - pgajdos@suse.com + +- fix /etc/rpm/macros.lua51 perms + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua51.spec ++++++ --- /var/tmp/diff_new_pack.AJnDpU/_old 2014-09-15 17:40:08.000000000 +0200 +++ /var/tmp/diff_new_pack.AJnDpU/_new 2014-09-15 17:40:08.000000000 +0200 @@ -118,13 +118,19 @@ %install 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 +# update-alternatives +mkdir -p %{buildroot}%{_sysconfdir}/alternatives for file in lua luac ; do mv "%{buildroot}%{_bindir}/${file}" "%{buildroot}%{_bindir}/${file}%{major_version}" + touch "%{buildroot}%{_sysconfdir}/alternatives/${file}" + ln -sf "%{_sysconfdir}/alternatives/${file}" "%{buildroot}%{_bindir}/${file}" mv "%{buildroot}%{_mandir}/man1/${file}.1" "%{buildroot}%{_mandir}/man1/${file}%{major_version}.1" + touch "%{buildroot}%{_sysconfdir}/alternatives/${file}.1.gz" + ln -sf "%{_sysconfdir}/alternatives/${file}.1.gz" "%{buildroot}%{_mandir}/man1/${file}.1.gz" done 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 +install -D -m 644 %{SOURCE1} %buildroot/etc/rpm/macros.lua51 # Debian/Ubuntu/SteamOS/Arch Linux compatibility ln -s %{_libdir}/liblua.so.%{major_version} %{buildroot}%{_libdir}/liblua%{major_version}.so.0 @@ -149,15 +155,23 @@ %files %defattr(-,root,root) %doc COPYRIGHT HISTORY README -%{_mandir}/man1/lua%{major_version}.1* -%{_mandir}/man1/luac%{major_version}.1* -%{_prefix}/bin/lua%{major_version} -%{_prefix}/bin/luac%{major_version} +%{_bindir}/lua%{major_version} +%{_bindir}/luac%{major_version} +%{_mandir}/man1/lua%{major_version}.1.gz +%{_mandir}/man1/luac%{major_version}.1.gz +%{_bindir}/lua +%{_bindir}/luac +%{_mandir}/man1/lua.1.gz +%{_mandir}/man1/luac.1.gz +%ghost %{_sysconfdir}/alternatives/lua +%ghost %{_sysconfdir}/alternatives/luac +%ghost %{_sysconfdir}/alternatives/lua.1.gz +%ghost %{_sysconfdir}/alternatives/luac.1.gz +%{_sysconfdir}/rpm/macros.lua51 %dir %{_libdir}/lua %dir %{_libdir}/lua/%{major_version} %dir %{_datadir}/lua %dir %{_datadir}/lua/%{major_version} -/etc/rpm/macros.lua51 %files -n liblua5_1 %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