[apr-util] fix build

jorton jorton at fedoraproject.org
Wed Mar 2 17:09:06 UTC 2011


commit 0a851679046b733fcb25906969cc18678c44b714
Author: Joe Orton <jorton at redhat.com>
Date:   Wed Mar 2 17:08:53 2011 +0000

    fix build

 apr-util.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/apr-util.spec b/apr-util.spec
index d94018e..bad60c9 100644
--- a/apr-util.spec
+++ b/apr-util.spec
@@ -4,7 +4,7 @@
 Summary: Apache Portable Runtime Utility library
 Name: apr-util
 Version: 1.3.10
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: ASL 2.0
 Group: System Environment/Libraries
 URL: http://apr.apache.org/
@@ -99,6 +99,9 @@ This package provides the LDAP support for the apr-util.
 
 %build
 autoheader && autoconf
+# A fragile autoconf test which fails if the code trips
+# any other warning; force correct result for OpenLDAP:
+export ac_cv_ldap_set_rebind_proc_style=three
 %configure --with-apr=%{_prefix} \
         --includedir=%{_includedir}/apr-%{apuver} \
         --with-ldap --without-gdbm \
@@ -188,6 +191,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/*.m4
 
 %changelog
+* Wed Mar  2 2011 Joe Orton <jorton at redhat.com> - 1.3.10-5
+- fix build
+
 * Wed Mar  2 2011 Joe Orton <jorton at redhat.com> - 1.3.10-4
 - rebuild
 


More information about the scm-commits mailing list