[selinux-policy/f18] Fix spec file to do better job on update gnomeclock is no longer used. Replaced by systemd
Miroslav Grepl
mgrepl at fedoraproject.org
Thu Feb 14 16:59:55 UTC 2013
commit 171c457c0ecc154e63db227fae43eaf114a54d50
Author: Miroslav Grepl <mgrepl at redhat.com>
Date: Thu Feb 14 17:58:33 2013 +0100
Fix spec file to do better job on update
gnomeclock is no longer used. Replaced by systemd
selinux-policy.spec | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 1750472..9acbd4e 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -252,10 +252,7 @@ fi;
. %{_sysconfdir}/selinux/config; \
if [ -e /etc/selinux/%2/.rebuild ]; then \
rm /etc/selinux/%2/.rebuild; \
- (cd /etc/selinux/%2/modules/active/modules; rm -f qemu.pp nsplugin.pp razor.pp pyzord.pp phpfpm.pp hotplug.pp consoletype.pp kudzu.pp howl.pp) \
- if [ %1 -ne 1 ]; then \
- /usr/sbin/semodule -n -s %2 -r matahari xfs kudzu kerneloops execmem openoffice ada tzdata hal hotplug howl java mono moilscanner gamin audio_entropy audioentropy iscsid polkit_auth polkit rtkit_daemon ModemManager telepathysofiasip ethereal passanger qpidd pyzor razor pki-selinux phpfpm consoletype 2>/dev/null; \
- fi \
+ (cd /etc/selinux/%2/modules/active/modules; rm -f gnomeclock.pp matahari.pp xfs.pp kudzu.pp kerneloops.pp execmem.pp openoffice.pp ada.pp tzdata.pp hal.pp hotplug.pp howl.pp java.pp mono.pp moilscanner.pp gamin.pp audio_entropy.pp audioentropy.pp iscsid.pp polkit_auth.pp polkit.pp rtkit_daemon.pp ModemManager.pp telepathysofiasip.pp ethereal.pp passanger.pp qpidd.pp pyzor.pp razor.pp pki-selinux.pp phpfpm.pp consoletype.pp) \
/usr/sbin/semodule -B -n -s %2; \
else \
touch /etc/selinux/%2/modules/active/modules/sandbox.disabled \
More information about the scm-commits
mailing list