optimize/update scriptlets
don't own icons/hicolor drop %config tag on applications/*.desktop
This commit is contained in:
parent
c6f492a0fd
commit
28f2ad885c
@ -1,7 +1,7 @@
|
||||
Summary: Helps troubleshoot SELinux problems
|
||||
Name: setroubleshoot
|
||||
Version: 3.0.45
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: https://fedorahosted.org/setroubleshoot
|
||||
@ -58,24 +58,27 @@ to user preference. The same tools can be run on existing log files.
|
||||
%defattr(-,root,root,-)
|
||||
%{pkgguidir}
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/*
|
||||
%config %{_datadir}/applications/*.desktop
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/dbus-1/services/sealert.service
|
||||
%{_datadir}/icons/hicolor
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
%dir %attr(0755,root,root) %{pkgpythondir}
|
||||
%{pkgpythondir}/browser.py*
|
||||
%{pkgpythondir}/gui_utils.py*
|
||||
%{_bindir}/seapplet
|
||||
|
||||
%post
|
||||
/usr/bin/desktop-file-install %{_datadir}/applications 2> /dev/null
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
/usr/bin/update-desktop-database %{_datadir}/applications 2> /dev/null
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -202,6 +205,11 @@ Setroubleshoot documentation package
|
||||
%{pkgdocdir}/setroubleshoot*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 23 2011 Rex Dieter <rdieter@fedoraproject.org> 3.0.45-2
|
||||
- optimize/update scriptlets
|
||||
- don't own icons/hicolor
|
||||
- drop %%config tag on applications/*.desktop
|
||||
|
||||
* Tue Dec 19 2011 <dwalsh@redhat.com> - 3.0.45-1
|
||||
- Patch from Mgrepl to stop printable from crashing if None is passed in
|
||||
- Update to latest translations
|
||||
|
Loading…
Reference in New Issue
Block a user