From 846a16972b97f7f2f04f3c1143459fbb58c71f74 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 18 Jan 2018 22:00:01 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- policycoreutils.spec | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index e80a899..93a6b32 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -9,7 +9,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.7 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2 Group: System Environment/Base # https://github.com/SELinuxProject/selinux/wiki/Releases @@ -415,18 +415,6 @@ system-config-selinux is a utility for managing the SELinux environment %{_mandir}/man8/selinux-polgengui.8* %{_mandir}/man8/sepolicy-gui.8* -%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 %{_sbindir}/restorecon_xattr @@ -501,6 +489,9 @@ The policycoreutils-restorecond package contains the restorecond service. %systemd_postun_with_restart restorecond.service %changelog +* Thu Jan 18 2018 Igor Gnatenko - 2.7-8 +- Remove obsolete scriptlets + * Wed Dec 20 2017 Petr Lautrbach - 2.7-7 - semanage: bring semanageRecords.set_reload back to seobject.py (#1527745)