[Fedora-packaging] python: mixing sitearch and sitelib (was: python noarch vs arch)

Jesse Keating jkeating at redhat.com
Sat Sep 2 15:37:54 UTC 2006

On Sat, 2006-09-02 at 17:23 +0200, Axel Thimm wrote:
> You mean just the way python-elementtree (and thus yum) works exactly
> that way since FC3?
> Yes, that statement is wrong, just log onto a multilib system and
> check ownership of parts of sitelib. For example on FC5/x86_64:

I think we're confusing the point.  If the binary blob is part of the
python module that won't work.  Lets look at your examples:

> # rpm -qf --qf '%{n}-%{v}-%{r}.%{arch}.rpm
> \n' /usr/lib/python2.4/site-packages/* | uniq | grep x86_64
> aqbanking-1.8.1beta-3.1.x86_64.rpm

Only arch specific stuff is in %{_libdir}/aqbanking/
%{_libdir}/gwenhywfar/ and %{_libdir} itself.  There are no python
modules that span both python sitearch and sitelib.

> audit-libs-python-1.1.5-1.x86_64.rpm

This one is strange, has /usr/lib/python2.4/site-packages/audit.py
AND /usr/lib64/python2.4/site-packages/_audit.so, not exactly sure whats
going on there...

> avahi-tools-0.6.10-1.FC5.x86_64.rpm

Only has python content in /usr/lib/python2.4/site-packages/avahi,
no /usr/lib64 python content.

> python-elementtree-1.2.6-4.2.1.x86_64.rpm

Has two different modules.

/usr/lib/python2.4/site-packages/elementtree/ being the 'elementtree'
module and
/usr/lib64/python2.4/site-packages/cElementTree.so being the
'cElementTree' module.  Again no mixed locations for the same module.

> wireshark-0.99.2-fc5.2.x86_64.rpm 

Once again, the only python content is
in /usr/lib/python2.4/site-packages/, no python content in /usr/lib64.

So I fail to see how these serve as any kind of example.

Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20060902/88ee1713/attachment.sig>

More information about the Fedora-packaging mailing list