Add post install scripts for gui to make sure Icon Cache is refreshed.

- Fix grammar issue in secon man page
- Update Translations
This commit is contained in:
Dan Walsh 2013-04-01 10:45:06 -04:00
parent 4084a6ea89
commit 3cc0cfcac3
2 changed files with 1001 additions and 12 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.1.14
Release: 30%{?dist}
Release: 31%{?dist}
License: GPLv2
Group: System Environment/Base
# Based on git repository with tag 20101221
@ -225,6 +225,17 @@ system-config-selinux is a utility for managing the SELinux environment
%{_datadir}/system-config-selinux/*.py*
%{_datadir}/system-config-selinux/*.glade
%post gui
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun gui
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans gui
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%{_sbindir}/restorecon
@ -310,7 +321,12 @@ The policycoreutils-restorecond package contains the restorecond service.
%{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
%changelog
* Thu Mar 28 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.14-29
* Mon Apr 1 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.14-31
- Add post install scripts for gui to make sure Icon Cache is refreshed.
- Fix grammar issue in secon man page
- Update Translations
* Thu Mar 28 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.14-30
- Add buildrequires for OpenBox to prevent me from accidently building into RHEL7
- Add support for returning alias data to sepolicy.info python bindings