[perl-Mozilla-LDAP] forgot to add -DUSE_SSL -DPRLDAP for the openldap case

Richard Allen Megginson rmeggins at fedoraproject.org
Tue Nov 23 17:48:40 UTC 2010


commit 00a0544321e44ecc180451ab680e896bd6550231
Author: Rich Megginson <rmeggins at redhat.com>
Date:   Tue Nov 23 10:47:50 2010 -0700

    forgot to add -DUSE_SSL -DPRLDAP for the openldap case

 Makefile.PL.rpm        |    2 +-
 perl-Mozilla-LDAP.spec |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.PL.rpm b/Makefile.PL.rpm
index afab05c..af64210 100644
--- a/Makefile.PL.rpm
+++ b/Makefile.PL.rpm
@@ -44,7 +44,7 @@ if (lc($ldappkgname) eq 'openldap') {
 	$libs = `pkg-config --libs nss`;
 	chomp($libs);
 	$libs = "-lldap -llber $libs";
-	$DEFINES = "-DUSE_OPENLDAP";
+	$DEFINES = "-DUSE_OPENLDAP -DUSE_SSL -DPRLDAP";
 } else {
 	$cflags = `pkg-config --cflags $ldappkgname`;
 	chomp($cflags);
diff --git a/perl-Mozilla-LDAP.spec b/perl-Mozilla-LDAP.spec
index 18603ee..02e8630 100644
--- a/perl-Mozilla-LDAP.spec
+++ b/perl-Mozilla-LDAP.spec
@@ -1,7 +1,7 @@
 Summary: LDAP Perl module that wraps the OpenLDAP C SDK
 Name: perl-Mozilla-LDAP
 Version: 1.5.3
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+ and LGPLv2+ and MPLv1.1
 Group: Development/Libraries
 URL: http://www.mozilla.org/directory/perldap.html
@@ -83,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc CREDITS ChangeLog README MPL-1.1.txt
 
 %changelog
+* Tue Nov 23 2010 Rich Megginson <rmeggins at redhat.com> - 1.5.3-4
+- forgot to add -DUSE_SSL -DPRLDAP
+
 * Wed Sep 29 2010 jkeating - 1.5.3-3
 - Rebuilt for gcc bug 634757
 



More information about the perl-devel mailing list