From 41825dfbb892e367ad8c09ef710c99202b41862d Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 15 Feb 2011 11:57:30 -0500 Subject: [PATCH] - update to 0.31.1 to fix an init script bug and subpackage %post --- .gitignore | 1 + oddjob.spec | 15 +++++++++++++-- sources | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ea3138a..cbe2ee4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ oddjob-0.29.1-1.tar.gz oddjob-0.30.tar.gz oddjob-0.30.1.tar.gz /oddjob-0.31.tar.gz +/oddjob-0.31.1.tar.gz diff --git a/oddjob.spec b/oddjob.spec index 6f75a3f..72e0824 100644 --- a/oddjob.spec +++ b/oddjob.spec @@ -2,8 +2,8 @@ %global dbus_send /bin/dbus-send Name: oddjob -Version: 0.31 -Release: 2%{?dist} +Version: 0.31.1 +Release: 1%{?dist} Source: http://fedorahosted.org/released/oddjob/oddjob-%{version}.tar.gz Summary: A D-Bus service which runs odd jobs on behalf of client applications License: BSD @@ -151,12 +151,23 @@ cfg=%{_sysconfdir}/oddjobd.conf.d/oddjobd-mkhomedir.conf if grep -q %{_libdir}/%{name}/mkhomedir $cfg ; then sed -i 's^%{_libdir}/%{name}/mkhomedir^%{_libexecdir}/%{name}/mkhomedir^g' $cfg fi +if test $1 -eq 1 ; then + killall -HUP dbus-daemon 2>&1 > /dev/null +fi if [ -f /var/lock/subsys/oddjobd ] ; then %{dbus_send} --system --dest=com.redhat.oddjob /com/redhat/oddjob com.redhat.oddjob.reload fi exit 0 %changelog +* Tue Feb 15 2011 Nalin Dahyabhai 0.31.1-1 +- also tell the system message bus to reload its configuration when we install + a subpackage with a new service in it + +* Tue Feb 8 2011 Nalin Dahyabhai +- make the init script exit with status 2 when given an unknown command, rather + than with status 1 (#674534) + * Tue Feb 08 2011 Fedora Release Engineering - 0.31-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 2d44e6f..948393a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -71650bd2869ca4c4774a3b2eec027643 oddjob-0.31.tar.gz +d25fa874ebc0908cdf0db6a60434372d oddjob-0.31.1.tar.gz