disable betxn support in older releases
- 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
This commit is contained in:
parent
bea5638eff
commit
9cecca2cef
@ -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 <nalin@redhat.com> - 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 <nalin@redhat.com> - 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
|
||||
|
Loading…
Reference in New Issue
Block a user