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.
This commit is contained in:
Alexander Bokovoy 2018-03-15 11:21:57 +02:00
parent 46272064ee
commit 056c4e7667

View File

@ -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 <abokovoy@redhat.com> - 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 <releng@fedoraproject.org> - 0.56.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild