From 056c4e7667a4c7b7650551fdba36badbcaf386b3 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Thu, 15 Mar 2018 11:21:57 +0200 Subject: [PATCH] Exclude slapi-nis from i686 architecture Resolves rhbz#1556448 - 'slapi-nis: FTBFS in F28' 389-ds-base is not available on i686 architecture in Fedora 28 or later anymore, so it is not possible to build slapi-nis on i686. --- slapi-nis.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/slapi-nis.spec b/slapi-nis.spec index 49a3b9c..4094dfb 100644 --- a/slapi-nis.spec +++ b/slapi-nis.spec @@ -11,7 +11,7 @@ Name: slapi-nis Version: 0.56.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: NIS Server and Schema Compatibility plugins for Directory Server Group: System Environment/Daemons License: GPLv2 @@ -35,8 +35,8 @@ BuildRequires: tcp_wrappers %if 0%{?fedora} > 14 || 0%{?rhel} > 6 BuildRequires: libtirpc-devel %endif -%if 0%{?rhel} > 0 && 0%{?rhel} < 7 -ExclusiveArch: x86_64 %{ix86} +%if 0%{?fedora} > 27 +ExcludeArch: %{ix86} %endif Requires: 389-ds-base >= 1.3.5.6 @@ -82,6 +82,11 @@ make check %{_sbindir}/nisserver-plugin-defs %changelog +* Thu Mar 15 2018 Alexander Bokovoy - 0.56.2-3 +- Do not build on i686 in Fedora 28 or later as 389-ds-base is not available there anymore +- Resolves rhbz#1556448 +- Remove outdated ExclusiveArch for RHEL6 + * Fri Feb 09 2018 Fedora Release Engineering - 0.56.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild