[oddjob/f18] require psmisc in %%post

Nalin Dahyabhai nalin at fedoraproject.org
Wed Nov 21 15:09:23 UTC 2012


commit 88a0ae40161432bbb0ae629de430bff5761841bc
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date:   Wed Nov 21 10:09:06 2012 -0500

    require psmisc in %%post
    
    - add missing requires(post) on killall, which we use to poke the message
      bus daemon to get it to reload its configuration, spotted by rcritten

 oddjob.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/oddjob.spec b/oddjob.spec
index ac15643..32de7cf 100644
--- a/oddjob.spec
+++ b/oddjob.spec
@@ -13,7 +13,7 @@
 
 Name: oddjob
 Version: 0.31.2
-Release: 1%{?dist}
+Release: 2%{?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
@@ -35,6 +35,8 @@ Requires(postun): /sbin/service
 Requires(post): /sbin/chkconfig
 Requires(pre): /sbin/chkconfig
 %endif
+# for "killall"
+Requires(post): psmisc
 Obsoletes: oddjob-devel < 0.30, oddjob-libs < 0.30, oddjob-python < 0.30
 URL: http://www.fedorahosted.org/oddjob
 
@@ -210,6 +212,10 @@ fi
 exit 0
 
 %changelog
+* Wed Nov 21 2012 Nalin Dahyabhai <nalin at redhat.com> 0.31.2-2
+- add missing requires(post) on killall, which we use to poke the message
+  bus daemon to get it to reload its configuration, spotted by rcritten
+
 * Wed Aug 29 2012 Nalin Dahyabhai <nalin at redhat.com> 0.31.2-1
 - refer to $local_fs instead of $localfs in the init script (#802719)
 - install a systemd unit file instead of an init script on still-in-development


More information about the scm-commits mailing list