]> git.pld-linux.org Git - packages/python-ldap.git/commitdiff
blah, that odd error was from wrong url syntax!
authorElan Ruusamäe <glen@delfi.ee>
Wed, 30 Jan 2013 10:11:02 +0000 (12:11 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 30 Jan 2013 10:11:02 +0000 (12:11 +0200)
python-ldap.spec

index 4c818e6399731d11c1b36992ede65163973ce14e..d447f33d7cfe7adaecb269ec84ec54795695d1a1 100644 (file)
@@ -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
This page took 0.029347 seconds and 4 git commands to generate.