From 73a23d7b6edffa42d93731de8527c704cbbfc5c7 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Sat, 12 Aug 2006 06:27:34 +0000 Subject: [PATCH] - add more deps --- setroubleshoot.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/setroubleshoot.spec b/setroubleshoot.spec index be1b2b1..3b56ea5 100644 --- a/setroubleshoot.spec +++ b/setroubleshoot.spec @@ -1,7 +1,7 @@ Summary: Helps troubleshoot SELinux problems Name: setroubleshoot Version: 0.21 -Release: 1 +Release: 2 License: GPL Group: Applications/System URL: http://www.redhat.com/ @@ -30,9 +30,10 @@ Requires: notify-python BuildRequires: intltool gettext python -Requires(post): /sbin/chkconfig -Requires(preun): /sbin/chkconfig -Requires(preun): /sbin/service +Requires(post): /sbin/chkconfig, /usr/bin/update-desktop-database +Requires(postun): /usr/bin/update-desktop-database +Requires(preun): /sbin/chkconfig +Requires(preun): /sbin/service %description Provides tools to help diagnose SELinux problems. When AVC messages @@ -57,6 +58,7 @@ make DESTDIR=%{buildroot} install /usr/bin/update-desktop-database %{_datadir}/applications /sbin/chkconfig --add %{name} [ -x /sbin/service ] && /sbin/service %{name} condrestart +exit 0 %preun if [ $1 = 0 ]; then @@ -70,6 +72,7 @@ fi %postun /usr/bin/update-desktop-database %{_datadir}/applications +exit 0 %clean rm -rf %{buildroot} @@ -92,6 +95,9 @@ rm -rf %{buildroot} %{_datadir}/pixmaps/*png %changelog +* Sat Aug 12 2006 Florian La Roche - 0.20-2 + * add more deps for post/postun scripts + * Thu Aug 10 2006 Dan Walsh - 0.20-1 * add html support * remove setroubleshoot_dispatcher