From 193d303b3b4915c23798368b516b59b2bd49f0b5 Mon Sep 17 00:00:00 2001 From: Vit Mojzis Date: Wed, 30 Mar 2022 14:47:15 +0200 Subject: [PATCH] Disable rpm verification on interface_info interface_info is generated by sepolgen-ifgen in %post. Therefore it should not be verified as part of the package. Signed-off-by: Vit Mojzis --- selinux-policy.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index aeeda3cc..22a7ff06 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -150,7 +150,7 @@ and some additional files. %{_datadir}/selinux/devel/Makefile %{_datadir}/selinux/devel/example.* %{_datadir}/selinux/devel/policy.* -%ghost %{_sharedstatedir}/sepolgen/interface_info +%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/sepolgen/interface_info %post devel %{_sbindir}/selinuxenabled && %{_bindir}/sepolgen-ifgen 2>/dev/null