- add more deps
This commit is contained in:
parent
87a4820ed0
commit
73a23d7b6e
@ -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 <laroche@redhat.com> - 0.20-2
|
||||
* add more deps for post/postun scripts
|
||||
|
||||
* Thu Aug 10 2006 Dan Walsh <dwalsh@redhat.com> - 0.20-1
|
||||
* add html support
|
||||
* remove setroubleshoot_dispatcher
|
||||
|
Loading…
Reference in New Issue
Block a user