From 96a53ecb23c0e081d18ec7929afcab959fcf5cee Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Mar 18 2020 16:05:13 +0000 Subject: Do not build selinux policy subpackage for client-only build --- diff --git a/freeipa.spec b/freeipa.spec index 0177522..648b362 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -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 - 4.8.5-1