From ebc4ead18b074854b39064ea8ec05c3e70778c20 Mon Sep 17 00:00:00 2001 From: Nikola Knazekova Date: Mon, 26 Sep 2022 17:59:21 +0200 Subject: [PATCH] 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 --- openwsman.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwsman.spec b/openwsman.spec index 91f530f..daa8736 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -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