Exclude installed policy module file from RPM verification
selinux: Update based on latest packaging guide https://fedoraproject.org/wiki/SELinux/IndependentPolicy Fixes: https://pagure.io/freeipa/issue/9254 Signed-off-by: Nikola Knazekova <nknazeko@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
1 parent
42f73ea655
commit
7b855c602e
1 file changed
+1
-1
+1
-1
@@ -1726,7 +1726,7 @@ fi
|
||||
%if %{with selinux}
|
||||
%files selinux
|
||||
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.*
|
||||
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
||||
%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
||||
# with selinux
|
||||
%endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user