[selinux-policy/f16] file_contexts.subs shouldn't be erased on an update

Miroslav Grepl mgrepl at fedoraproject.org
Fri Oct 21 08:34:07 UTC 2011


commit 7f740ef37710d33b56269c3db25ed3c4199a38eb
Author: Miroslav <mgrepl at redhat.com>
Date:   Fri Oct 21 10:33:43 2011 +0200

    file_contexts.subs shouldn't be erased on an update

 selinux-policy.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/selinux-policy.spec b/selinux-policy.spec
index f1578a4..b1a6026 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -170,7 +170,7 @@ rm -rf %{buildroot}%{_sysconfdir}/selinux/%1/contexts/netfilter_contexts
 %verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/contexts/files/file_contexts \
 %verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/contexts/files/file_contexts.homedirs \
 %verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/contexts/files/file_contexts.local \
-%verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/contexts/files/file_contexts.subs \
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/contexts/files/file_contexts.subs \
 %verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/contexts/files/file_contexts.subs_dist \
 %config %{_sysconfdir}/selinux/%1/contexts/files/media \
 %dir %{_sysconfdir}/selinux/%1/contexts/users \


More information about the scm-commits mailing list