Exclude container.if from selinux-policy-devel
The container-selinux has been separated from selinux-policy, but selinux-policy still contains the interface in selinux-policy-devel subpackage, which can result in errors like $ make -f /usr/share/selinux/devel/Makefile init_t_audit_control.pp /usr/share/selinux/devel/include/services/container.if:13: Error: duplicate definition of container_runtime_domtrans(). Original definition on 13. These errors are harmless as long as the content is the same, but not packaging the interface in selinux-policy can entirely prevent these errors from appearing. Resolves: rhbz#2055890
This commit is contained in:
parent
98a41b6a2c
commit
d5d18f13f7
@ -139,6 +139,7 @@ and some additional files.
|
||||
%dir %{_datadir}/selinux/devel
|
||||
%dir %{_datadir}/selinux/devel/include
|
||||
%{_datadir}/selinux/devel/include/*
|
||||
%exclude %{_usr}/share/selinux/devel/include/contrib/container.if
|
||||
%dir %{_datadir}/selinux/devel/html
|
||||
%{_datadir}/selinux/devel/html/*html
|
||||
%{_datadir}/selinux/devel/html/*css
|
||||
|
Loading…
Reference in New Issue
Block a user