- add more deps
This commit is contained in:
parent
87a4820ed0
commit
73a23d7b6e
@ -1,7 +1,7 @@
|
|||||||
Summary: Helps troubleshoot SELinux problems
|
Summary: Helps troubleshoot SELinux problems
|
||||||
Name: setroubleshoot
|
Name: setroubleshoot
|
||||||
Version: 0.21
|
Version: 0.21
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.redhat.com/
|
URL: http://www.redhat.com/
|
||||||
@ -30,9 +30,10 @@ Requires: notify-python
|
|||||||
|
|
||||||
BuildRequires: intltool gettext python
|
BuildRequires: intltool gettext python
|
||||||
|
|
||||||
Requires(post): /sbin/chkconfig
|
Requires(post): /sbin/chkconfig, /usr/bin/update-desktop-database
|
||||||
Requires(preun): /sbin/chkconfig
|
Requires(postun): /usr/bin/update-desktop-database
|
||||||
Requires(preun): /sbin/service
|
Requires(preun): /sbin/chkconfig
|
||||||
|
Requires(preun): /sbin/service
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Provides tools to help diagnose SELinux problems. When AVC messages
|
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
|
/usr/bin/update-desktop-database %{_datadir}/applications
|
||||||
/sbin/chkconfig --add %{name}
|
/sbin/chkconfig --add %{name}
|
||||||
[ -x /sbin/service ] && /sbin/service %{name} condrestart
|
[ -x /sbin/service ] && /sbin/service %{name} condrestart
|
||||||
|
exit 0
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
@ -70,6 +72,7 @@ fi
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
/usr/bin/update-desktop-database %{_datadir}/applications
|
/usr/bin/update-desktop-database %{_datadir}/applications
|
||||||
|
exit 0
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -92,6 +95,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/pixmaps/*png
|
%{_datadir}/pixmaps/*png
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Aug 10 2006 Dan Walsh <dwalsh@redhat.com> - 0.20-1
|
||||||
* add html support
|
* add html support
|
||||||
* remove setroubleshoot_dispatcher
|
* remove setroubleshoot_dispatcher
|
||||||
|
Loading…
Reference in New Issue
Block a user