[packages/python-ldap] blah, that odd error was from wrong url syntax!

glen glen at pld-linux.org
Wed Jan 30 11:11:25 CET 2013


commit bc02c3915c556f6cee5f049f6d2d767bb74f20cd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 30 12:11:02 2013 +0200

    blah, that odd error was from wrong url syntax!

 python-ldap.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-ldap.spec b/python-ldap.spec
index 4c818e6..d447f33 100644
--- a/python-ldap.spec
+++ b/python-ldap.spec
@@ -46,8 +46,9 @@ CFLAGS="%{rpmcflags}" \
 %if %{with tests}
 %{__python} setup.py test
 
+LDAPNOINIT=1 \
 PYTHONPATH=$(echo build/lib.linux-*/) \
-%{__python} -c "import ldap; print ldap.__version__; ldapo = ldap.initialize('localhost')"
+%{__python} -c "import ldap; print ldap.__version__; ldapo = ldap.initialize('ldap://localhost')"
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ldap.git/commitdiff/bc02c3915c556f6cee5f049f6d2d767bb74f20cd



More information about the pld-cvs-commit mailing list