- update to 0.31.1 to fix an init script bug and subpackage %post

This commit is contained in:
Nalin Dahyabhai 2011-02-15 11:57:30 -05:00
parent 8fee181942
commit 41825dfbb8
3 changed files with 15 additions and 3 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <nalin@redhat.com> 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 <nalin@redhat.com>
- 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 <rel-eng@lists.fedoraproject.org> - 0.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
71650bd2869ca4c4774a3b2eec027643 oddjob-0.31.tar.gz
d25fa874ebc0908cdf0db6a60434372d oddjob-0.31.1.tar.gz