|
From: Joe L. <jl...@op...> - 2002-12-11 19:03:24
|
Actually, the bug in the RPM is that newer files a part of pre06 (schema, etc) didn't make it into the RPM because I had explicit entries for files. This was an artifact of a recent patched spec file that was submitted to me. I forgot certain implications when I build the first pre06 releases. I've since updated the RH7.3 RPM to version 3, and the RH8.0 edition to version 2 to address this. This is available in the usual spots on ftp://ftp.open-it.org Also, the original problem of including .py files in the doc sections has also been addressed. On Wednesday, December 11, 2002, at 12:38 AM, Harri Pasanen wrote: > On Wednesday 11 December 2002 02:46, you wrote: >> I can confirm that its putting stuff into the docs folder, and I'll >> have to fix that. As to not working, that's different. What's the >> difference of the working vs non-working in the site-packages tree? >> > > Well, everything in Lib goes under /usr/share/doc and is missing from > the > site-packages. So just simple 'import ldap' fails. > > My hunch is that the following line in the python-ldap.spec file is > the cause > of all evil: > %doc Doc README Lib $RPM_SOURCE_DIR/python-ldap.lib.pdf > > but I'm not sufficiently versed in rpm spec files to state this with > authority. > > The full rpm contens, as reported by > rpm -qpl ~/downloads/python-ldap-2.0.0pre06-1.i386.rpm > > /usr/lib/python2.2/site-packages/_ldap.so > /usr/lib/python2.2/site-packages/ldap/__init__.py > /usr/lib/python2.2/site-packages/ldap/async.py > /usr/lib/python2.2/site-packages/ldap/functions.py > /usr/lib/python2.2/site-packages/ldap/ldapobject.py > /usr/lib/python2.2/site-packages/ldap/modlist.py > /usr/lib/python2.2/site-packages/ldapurl.py > /usr/lib/python2.2/site-packages/ldif.py > /usr/share/doc/python-ldap-2.0.0pre06 > /usr/share/doc/python-ldap-2.0.0pre06/Lib > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/__init__.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/__init__.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/async.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/async.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/cidict.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/cidict.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/functions.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/functions.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/ldapobject.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/ldapobject.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/modlist.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/modlist.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/sasl.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/sasl.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema/__init__.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema/__init__.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema/models.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema/models.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema/subentry.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema/subentry.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema/tokenizer.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldap/schema/tokenizer.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldapurl.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldapurl.pyc > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldif.py > /usr/share/doc/python-ldap-2.0.0pre06/Lib/ldif.pyc > /usr/share/doc/python-ldap-2.0.0pre06/README > /usr/share/doc/python-ldap-2.0.0pre06/python-ldap.lib.pdf > > |