From 96a53ecb23c0e081d18ec7929afcab959fcf5cee Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 18 Mar 2020 18:05:13 +0200 Subject: [PATCH] Do not build selinux policy subpackage for client-only build --- freeipa.spec | 2 ++ 1 file changed, 2 insertions(+) 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