From fec16cd955dbfe9f678f0108aed474eca2d3daab Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Fri, 16 Jan 2026 09:27:31 +0100 Subject: [PATCH] Own /usr/share/selinux/devel If an SELinux module provides interface file, -selinux sub-packages should ship it and own it as %{_datadir}/selinux/devel/include/distributed/%{modulename}.if But there's no package which owns %{_datadir}/selinux/devel/include/distributed/ - https://docs.fedoraproject.org/en-US/packaging-guidelines/UnownedDirectories/ %{_datadir}/selinux/devel is owned by selinux-policy-devel but this is not a right dependency for -selinux subpackage Resolves: RHEL-141846 --- fapolicyd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fapolicyd.spec b/fapolicyd.spec index d4020ad..39928cd 100644 --- a/fapolicyd.spec +++ b/fapolicyd.spec @@ -216,7 +216,7 @@ fi %{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2 %{_datadir}/selinux/packages/%{selinuxtype}/%{name}-hardening.cil %ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{name} -%{_datadir}/selinux/devel/include/%{moduletype}/%{name}.if +%{_datadir}/selinux/devel %post selinux %selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2 %{_datadir}/selinux/packages/%{selinuxtype}/%{name}-hardening.cil