Hello community,

here is the log from the commit of package lua for openSUSE:Factory checked in 
at 2014-09-15 17:39:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua (Old)
 and      /work/SRC/openSUSE:Factory/.lua.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua/lua.changes  2014-04-03 16:38:45.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.lua.new/lua.changes     2014-09-15 
17:40:04.000000000 +0200
@@ -1,0 +2,10 @@
+Fri Sep 12 09:19:07 UTC 2014 - pgaj...@suse.com
+
+- fix update-alternatives 
+
+-------------------------------------------------------------------
+Wed Sep 10 10:21:23 UTC 2014 - pgaj...@suse.com
+
+- fix /etc/rpm/macros.lua perms
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lua.spec ++++++
--- /var/tmp/diff_new_pack.m1cqO2/_old  2014-09-15 17:40:04.000000000 +0200
+++ /var/tmp/diff_new_pack.m1cqO2/_new  2014-09-15 17:40:04.000000000 +0200
@@ -118,11 +118,17 @@
 
 %install
 make install INSTALL_TOP="%{buildroot}%{_prefix}" 
INSTALL_LIB="%{buildroot}%{_libdir}" 
INSTALL_CMOD=%{buildroot}%{_libdir}/lua/%{major_version} 
INSTALL_MAN="%{buildroot}%{_mandir}/man1"
+# 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 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.lua
+install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.lua
 
 # create pkg-config file
 cat > lua.pc <<-EOF
@@ -162,23 +168,19 @@
 %files
 %defattr(-,root,root)
 %doc README
-%ghost %{_mandir}/man1/lua.1.gz
-%{_mandir}/man1/lua%{major_version}.1*
-%ghost %{_mandir}/man1/luac.1.gz
-%{_mandir}/man1/luac%{major_version}.1*
-%ghost %{_bindir}/lua
 %{_bindir}/lua%{major_version}
-%ghost %{_bindir}/luac
 %{_bindir}/luac%{major_version}
-%dir %{_libdir}/lua
-%dir %{_libdir}/lua/%{major_version}
-%dir %{_datadir}/lua
-%dir %{_datadir}/lua/%{major_version}
-%{_sysconfdir}/rpm/macros.lua
+%{_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
-%ghost %{_sysconfdir}/alternatives/lua
+%{_sysconfdir}/rpm/macros.lua
 
 %files -n liblua%{libsuf}
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to