Some minor spec file fixes to * make the restart on update quiet * properly require things needed by scriptlets --- setroubleshoot.spec 7 Aug 2006 22:09:36 -0000 1.18 +++ setroubleshoot.spec 8 Aug 2006 14:59:31 -0000 @@ -32,8 +32,11 @@ BuildRequires: intltool gettext python Requires(post): /sbin/chkconfig +Requires(post): /sbin/service +Requires(post): /usr/bin/update-desktop-database Requires(preun): /sbin/chkconfig Requires(preun): /sbin/service +Requires(postun): /usr/bin/update-desktop-database %description Provides tools to help diagnose SELinux problems. When AVC messages @@ -57,7 +60,7 @@ %post /usr/bin/update-desktop-database %{_datadir}/applications /sbin/chkconfig --add %{name} -[ -x /sbin/service ] && /sbin/service %{name} condrestart +/sbin/service %{name} condrestart >/dev/null 2>&1 %preun if [ $1 = 0 ]; then
Thanks Jeremy! Changes are applied.