- update to 0.31.1 to fix an init script bug and subpackage %post
This commit is contained in:
parent
8fee181942
commit
41825dfbb8
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
||||
15
oddjob.spec
15
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 <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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user