Hello community,

here is the log from the commit of package sysstat for openSUSE:Factory checked 
in at 2012-11-14 17:02:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sysstat (Old)
 and      /work/SRC/openSUSE:Factory/.sysstat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysstat", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sysstat/sysstat.changes  2012-10-18 
22:03:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sysstat.new/sysstat.changes     2012-11-14 
17:02:53.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Nov  9 15:36:58 UTC 2012 - [email protected]
+
+- fixed two typos in spec related to service unit, which prevented
+  succesful startup (bnc#783886)
+- service unit included hardcoded /usr/lib, so patching
+  sysstat.service to use correct libdir
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sysstat.spec ++++++
--- /var/tmp/diff_new_pack.ZJVKFQ/_old  2012-11-14 17:02:54.000000000 +0100
+++ /var/tmp/diff_new_pack.ZJVKFQ/_new  2012-11-14 17:02:54.000000000 +0100
@@ -78,6 +78,10 @@
 %patch2
 %patch3
 %patch4
+# patch correct libdir path in service unit
+if [ "%{_libdir}" != "/usr/lib" ]; then
+    sed -i 's:/usr/lib:%{_libdir}:' %{S:4}
+fi
 cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
 
 %build
@@ -110,7 +114,7 @@
 ln -s %{_sysconfdir}/init.d/boot.sysstat %{buildroot}%{_sbindir}/rcsysstat
 %find_lang %{name}
 install -d %{buildroot}%{_localstatedir}/lock/sa %{buildroot}%{_unitdir}
-install -D -m 0644 sysstat.service %{buildrppt}%{_unitdir}/sysstat.service
+install -D -m 0644 %{S:4} %{buildroot}%{_unitdir}/sysstat.service
 
 %pre
 %service_add_pre sysstat.service
@@ -122,7 +126,7 @@
 
 %post
 %{fillup_and_insserv boot.sysstat}
-%service_add_post syststat.service
+%service_add_post sysstat.service
 
 %postun
 %{insserv_cleanup}
@@ -147,6 +151,7 @@
 %{_sbindir}/*
 %exclude %{_bindir}/isag
 %{_libdir}/sa
+%{_unitdir}/sysstat.service
 %ghost %dir %{_localstatedir}/lock/sa
 %dir %{_localstatedir}/log/sa
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to