selinux: Exclude installed policy module file from RPM verification

Update based on latest packaging guide:
https://fedoraproject.org/wiki/SELinux/IndependentPolicy

Signed-off-by: Nikola Knazekova <nknazeko@redhat.com>
This commit is contained in:
Nikola Knazekova 2022-09-26 17:59:21 +02:00
parent 28fe0b0300
commit ebc4ead18b

View File

@ -410,7 +410,7 @@ fi
%files selinux
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.*
%{_datadir}/selinux/devel/include/distributed/%{modulename}.if
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
%endif
%changelog