summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2014-01-20 15:37:06 -0500
committerNalin Dahyabhai <nalin@dahyabhai.net>2014-01-20 15:37:06 -0500
commit82e1683000d28921a56d5c7d0bf5c001a11278ab (patch)
tree82986e04d77473059779ca84b5625ad0684810b7
parent99d471d95064534e68d27284182860c4d74e09f4 (diff)
downloadslapi-nis-82e1683000d28921a56d5c7d0bf5c001a11278ab.tar.gz
slapi-nis-82e1683000d28921a56d5c7d0bf5c001a11278ab.tar.xz
slapi-nis-82e1683000d28921a56d5c7d0bf5c001a11278ab.zip
Tweak exclusiveArch on EL7
Limit ExclusiveArch to EL releases < 7, since 7 apparently gets 389-ds-base on all arches by default.
-rw-r--r--slapi-nis.spec8
1 files changed, 6 insertions, 2 deletions
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 <nalin@redhat.com> - 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 <nalin@redhat.com> - 0.52-1
- correctly reflect whether or not we're built with transaction support in
the module's nsslapd-pluginVersion attribute