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
This commit is contained in:
parent
7770be8377
commit
fec16cd955
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user