From 82e1683000d28921a56d5c7d0bf5c001a11278ab Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Jan 20 2014 20:37:06 +0000 Subject: Tweak exclusiveArch on EL7 Limit ExclusiveArch to EL releases < 7, since 7 apparently gets 389-ds-base on all arches by default. --- diff --git a/slapi-nis.spec b/slapi-nis.spec index 22be925..02561cd 100644 --- a/slapi-nis.spec +++ b/slapi-nis.spec @@ -11,7 +11,7 @@ Name: slapi-nis Version: 0.52 -Release: 1%{?dist} +Release: 2%{?dist} Summary: NIS Server and Schema Compatibility plugins for Directory Server Group: System Environment/Daemons License: GPLv2 @@ -36,7 +36,7 @@ BuildRequires: tcp_wrappers %if 0%{?fedora} > 14 || 0%{?rhel} > 6 BuildRequires: libtirpc-devel %endif -%if 0%{?rhel} > 0 +%if 0%{?rhel} > 0 && 0%{?rhel} < 7 ExclusiveArch: x86_64 %{ix86} %endif @@ -85,6 +85,10 @@ rm -rf $RPM_BUILD_ROOT %{_sbindir}/nisserver-plugin-defs %changelog +* Mon Jan 20 2014 Nalin Dahyabhai - 0.52-2 +- remove ExclusiveArch if %%{rhel} is 7 or higher, because 389-ds-base gets + built for everything now (#1055711) + * Mon Dec 16 2013 Nalin Dahyabhai - 0.52-1 - correctly reflect whether or not we're built with transaction support in the module's nsslapd-pluginVersion attribute