From e84b64c9687b344fb40ad369c7aa12647f82639b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 23 Mar 2011 19:47:14 +0100 Subject: [PATCH 1/2] rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) --- rsyslog.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rsyslog.spec b/rsyslog.spec index c75abba..b5102d3 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -6,7 +6,7 @@ Summary: Enhanced system logging and kernel message trapping daemon Name: rsyslog Version: 5.7.9 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: System Environment/Daemons URL: http://www.rsyslog.com/ @@ -295,6 +295,9 @@ fi %{_libdir}/rsyslog/omudpspoof.so %changelog +* Wed Mar 23 2011 Dan Horák - 5.7.9-2 +- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) + * Fri Mar 18 2011 Tomas Heinrich 5.7.9-1 - upgrade to new upstream version 5.7.9 - enable compilation of several new modules, From 0dcc29e67ee9fe56e9511fed1cbd325890409c44 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 16 May 2011 15:40:16 -0400 Subject: [PATCH 2/2] Combine triggers to properly handle upgrade (#699198) From https://bugzilla.redhat.com/show_bug.cgi?id=702378#c2: This is the intended and expected behavior (from rpm POV): only a single trigger is executed per each trigger target <-> source pair in a transaction. By combining them, the right thing should happen. --- rsyslog.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rsyslog.spec b/rsyslog.spec index b5102d3..976e6f4 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -6,7 +6,7 @@ Summary: Enhanced system logging and kernel message trapping daemon Name: rsyslog Version: 5.7.9 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: System Environment/Daemons URL: http://www.rsyslog.com/ @@ -208,18 +208,15 @@ if [ $1 -ge 1 ] ; then /bin/systemctl try-restart rsyslog.service >/dev/null 2>&1 || : fi -%triggerun -- rsyslog < 3.0.0 -/bin/kill `cat /var/run/rklogd.pid 2> /dev/null` > /dev/null 2>&1 ||: - -%triggerun -- rsyslog < 5.6.2 -# previous versions used a different lock file, which would break condrestart -[ -f /var/lock/subsys/rsyslogd ] || exit 0 -mv /var/lock/subsys/rsyslogd /var/lock/subsys/rsyslog - %triggerun -- rsyslog < 5.7.8-1 if /sbin/chkconfig --level 3 rsyslog ; then /bin/systemctl --no-reload enable rsyslog.service >/dev/null 2>&1 || : fi +# previous versions used a different lock file, which would break condrestart +[ -f /var/lock/subsys/rsyslogd ] || exit 0 +mv /var/lock/subsys/rsyslogd /var/lock/subsys/rsyslog +[ -f /var/run/rklogd.pid ] || exit 0 +/bin/kill `cat /var/run/rklogd.pid 2> /dev/null` > /dev/null 2>&1 ||: %files %defattr(-,root,root,-) @@ -295,6 +292,9 @@ fi %{_libdir}/rsyslog/omudpspoof.so %changelog +* Mon May 16 2011 Bill Nottingham - 5.7.9-3 +- combine triggers (as rpm will only execute one) - fixes upgrades (#699198) + * Wed Mar 23 2011 Dan Horák - 5.7.9-2 - rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)