From bd3e84d988e30054fb6b8344ea547630b6708af4 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 11 Feb 2021 15:59:16 +0100 Subject: [PATCH] Add unowned dir to the macro Resolves: rhbz#2082524 --- selinux-policy.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selinux-policy.spec b/selinux-policy.spec index 5d261e6d..4cbee8bb 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -259,10 +259,12 @@ rm -f %{buildroot}%{_sharedstatedir}/selinux/%1/active/*.linked \ %config(noreplace) %{_sysconfdir}/selinux/%1/contexts/users/xguest_u \ %config(noreplace) %{_sysconfdir}/selinux/%1/contexts/users/user_u \ %config(noreplace) %{_sysconfdir}/selinux/%1/contexts/users/staff_u \ +%dir %{_datadir}/selinux/%1 \ %{_datadir}/selinux/%1/base.lst \ %{_datadir}/selinux/%1/modules-base.lst \ %{_datadir}/selinux/%1/modules-contrib.lst \ %{_datadir}/selinux/%1/nonbasemodules.lst \ +%dir %{_sharedstatedir}/selinux/%1 \ %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/commit_num \ %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/users_extra \ %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/homedir_template \