URL: https://github.com/freeipa/freeipa/pull/1564
Author: tiran
 Title: #1564: freeipa-server no longer supports i686 arch on F28
Action: opened

PR body:
"""
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 . Add ExcludeArch to
add freeipa-server related packages (freeipa-server, python[23]-ipaserver,
freeipa-server-common, freeipa-server-dns, freeipa-server-trust-ad).

Fixes: https://pagure.io/freeipa/issue/7400
Signed-off-by: Christian Heimes <chei...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1564/head:pr1564
git checkout pr1564
From 21975e1300210e28f469fa8f653cbade1a5ca326 Mon Sep 17 00:00:00 2001
From: Christian Heimes <chei...@redhat.com>
Date: Mon, 12 Feb 2018 11:34:33 +0100
Subject: [PATCH] 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 . Add ExcludeArch to
add freeipa-server related packages (freeipa-server, python[23]-ipaserver,
freeipa-server-common, freeipa-server-dns, freeipa-server-trust-ad).

Fixes: https://pagure.io/freeipa/issue/7400
Signed-off-by: Christian Heimes <chei...@redhat.com>
---
 freeipa.spec.in | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index c1c31e235f..c4cbaf85e2 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -305,6 +305,11 @@ and integration with Active Directory based infrastructures (Trusts).
 %package server
 Summary: The IPA authentication server
 Group: System Environment/Base
+%if 0%{?fedora} >= 28
+# 389-ds-base does no longer support i686 platform
+# https://bugzilla.redhat.com/show_bug.cgi?id=1530832
+ExcludeArch: %{ix86}
+%endif
 Requires: %{name}-server-common = %{version}-%{release}
 Requires: %{name}-client = %{version}-%{release}
 Requires: %{name}-common = %{version}-%{release}
@@ -408,6 +413,11 @@ If you are installing an IPA server, you need to install this package.
 Summary: Python libraries used by IPA server
 Group: System Environment/Libraries
 BuildArch: noarch
+%if 0%{?fedora} >= 28
+# 389-ds-base does no longer support i686 platform
+# https://bugzilla.redhat.com/show_bug.cgi?id=1530832
+ExcludeArch: %{ix86}
+%endif
 %{?python_provide:%python_provide python2-ipaserver}
 %{!?python_provide:Provides: python-ipaserver = %{version}-%{release}}
 Requires: %{name}-server-common = %{version}-%{release}
@@ -445,6 +455,11 @@ If you are installing an IPA server, you need to install this package.
 Summary: Python libraries used by IPA server
 Group: System Environment/Libraries
 BuildArch: noarch
+%if 0%{?fedora} >= 28
+# 389-ds-base does no longer support i686 platform
+# https://bugzilla.redhat.com/show_bug.cgi?id=1530832
+ExcludeArch: %{ix86}
+%endif
 %{?python_provide:%python_provide python3-ipaserver}
 Requires: %{name}-server-common = %{version}-%{release}
 Requires: %{name}-common = %{version}-%{release}
@@ -478,6 +493,11 @@ If you are installing an IPA server, you need to install this package.
 Summary: Common files used by IPA server
 Group: System Environment/Base
 BuildArch: noarch
+%if 0%{?fedora} >= 28
+# 389-ds-base does no longer support i686 platform
+# https://bugzilla.redhat.com/show_bug.cgi?id=1530832
+ExcludeArch: %{ix86}
+%endif
 Requires: %{name}-client-common = %{version}-%{release}
 Requires: httpd >= 2.4.6-31
 Requires: systemd-units >= 38
@@ -500,6 +520,11 @@ If you are installing an IPA server, you need to install this package.
 Summary: IPA integrated DNS server with support for automatic DNSSEC signing
 Group: System Environment/Base
 BuildArch: noarch
+%if 0%{?fedora} >= 28
+# 389-ds-base does no longer support i686 platform
+# https://bugzilla.redhat.com/show_bug.cgi?id=1530832
+ExcludeArch: %{ix86}
+%endif
 Requires: %{name}-server = %{version}-%{release}
 Requires: bind-dyndb-ldap >= 11.0-2
 Requires: bind >= 9.11.0-6.P2
@@ -523,6 +548,11 @@ Integrated DNS server is BIND 9. OpenDNSSEC provides key management.
 %package server-trust-ad
 Summary: Virtual package to install packages required for Active Directory trusts
 Group: System Environment/Base
+%if 0%{?fedora} >= 28
+# 389-ds-base does no longer support i686 platform
+# https://bugzilla.redhat.com/show_bug.cgi?id=1530832
+ExcludeArch: %{ix86}
+%endif
 Requires: %{name}-server = %{version}-%{release}
 Requires: %{name}-common = %{version}-%{release}
 
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to