From 0927af342fc9110cb1b7b9a2dd9cd7c0dd137426 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 20 Nov 2012 11:24:53 -0500 Subject: default to not using betxns on older releases --- slapi-nis.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'slapi-nis.spec') diff --git a/slapi-nis.spec b/slapi-nis.spec index 97204d5..3735cf2 100644 --- a/slapi-nis.spec +++ b/slapi-nis.spec @@ -3,10 +3,15 @@ %else %define ldap_impl mozldap %endif +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 6 +%define betxn_opts --enable-be-txns-by-default +%else +%define betxn_opts --disable-be-txns-by-default +%endif Name: slapi-nis Version: 0.44 -Release: 1%{?dist} +Release: 2%{?dist} Summary: NIS Server and Schema Compatibility plugins for Directory Server Group: System Environment/Daemons License: GPLv2 @@ -45,7 +50,7 @@ for attributes from multiple entries in the tree. %setup -q %build -%configure --disable-static --with-tcp-wrappers --with-ldap=%{ldap_impl} +%configure --disable-static --with-tcp-wrappers --with-ldap=%{ldap_impl} %{betxn_opts} make %{?_smp_mflags} %install @@ -70,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT %{_sbindir}/nisserver-plugin-defs %changelog +* Tue Nov 20 2012 Nalin Dahyabhai - 0.44-2 +- set betxn support to be disabled by default on Fedora 17 or EL 5 or older, + which have versions of IPA < 3.0, per mkosek on freeipa-devel + * Wed Nov 14 2012 Nalin Dahyabhai - 0.44-1 - add missing newline to a couple of debug log messages - note whether or not betxn support is compiled in as part of the -- cgit