From cfecc5238346b86a786babd817b1f2c0cf104cbd Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Feb 16 2018 18:39:25 +0000 Subject: freeipa-server no longer supports i686 arch on F28 389-ds-base 1.4 is going to drop 32bit i686 arch support in Fedora 28, https://bugzilla.redhat.com/show_bug.cgi?id=1530832 . Skip server related packages (freeipa-server, python[23]-ipaserver, freeipa-server-common, freeipa-server-dns, freeipa-server-trust-ad). RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1544386 Fixes: https://pagure.io/freeipa/issue/7400 Signed-off-by: Christian Heimes Reviewed-By: Rob Crittenden --- diff --git a/freeipa.spec.in b/freeipa.spec.in index e4086cd..d1869dd 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -1,3 +1,11 @@ +# 389-ds-base 1.4 no longer supports i686 platform, build only client +# packages, https://bugzilla.redhat.com/show_bug.cgi?id=1544386 +%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 +%ifarch %{ix86} +%{!?ONLY_CLIENT:%global ONLY_CLIENT 1} +%endif +%endif + # Define ONLY_CLIENT to only make the ipa-client and ipa-python # subpackages %{!?ONLY_CLIENT:%global ONLY_CLIENT 0}