From a563172755afcd146927f8e1fc46f89c6ec2bc8e 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 --- selinux-policy.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selinux-policy.spec b/selinux-policy.spec index 4a73b72d..bf137eca 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -254,10 +254,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 \