[setroubleshoot] Remove requirement for setools-libs-python, no longer needed.

Daniel J Walsh dwalsh at fedoraproject.org
Tue Mar 26 17:02:37 UTC 2013


commit 6a5acd73365db02b2c3865aa29e60790cd3d1808
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Tue Mar 26 13:02:20 2013 -0400

    Remove requirement for setools-libs-python, no longer needed.

 setroubleshoot.spec |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/setroubleshoot.spec b/setroubleshoot.spec
index 431b376..d0185b6 100644
--- a/setroubleshoot.spec
+++ b/setroubleshoot.spec
@@ -110,9 +110,7 @@ BuildRequires: setools-devel >= 3.3.7-19
 BuildRequires: python-devel
 Requires: python-slip-dbus systemd-python
 
-Requires(post):   /sbin/chkconfig
 Requires(post):   /sbin/service
-Requires(preun):  /sbin/chkconfig
 Requires(preun):  /sbin/service
 
 %description server
@@ -122,12 +120,10 @@ about the problem and help track its resolution. Alerts can be configured
 to user preference. The same tools can be run on existing log files.
 
 %post server
-/sbin/service auditd reload >/dev/null 2>&1 || :
+%systemd_post auditd.service
 
 %postun server
-if [ $1 = 0 ]; then
-   /sbin/service auditd reload >/dev/null 2>&1 || :
-fi
+%systemd_postun_with_restart auditd.service
 
 %triggerun server -- %{name}-server < 2.1.1
 /sbin/service %{name} stop >/dev/null 2>&1 || :


More information about the scm-commits mailing list