Do not build selinux policy subpackage for client-only build

This commit is contained in:
Alexander Bokovoy 2020-03-18 18:05:13 +02:00
parent 6147e44e8d
commit 96a53ecb23

View File

@ -1451,11 +1451,13 @@ fi
%endif
%if 0%{?with_selinux}
%if ! %{ONLY_CLIENT}
%files selinux
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.*
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
# with_selinux
%endif
%endif
%changelog
* Wed Mar 18 2020 Alexander Bokovoy <abokovoy@redhat.com> - 4.8.5-1