[Fedora-packaging] private-shared-object-provides in python packages

Parag N(पराग़) panemade at gmail.com
Sun Sep 26 14:03:40 UTC 2010


Hi,
   Do .so files installed in %{python_sitearch} MUST be filtered? I
see one reference at
https://fedoraproject.org/wiki/Common_Rpmlint_issues#private-shared-object-provides
but the filtering policy is not added to Python packaging guidelines.
   Also, why rpmlint complains it as warning and not an error? e.g.
one case I see is
pyorbit.x86_64: W: private-shared-object-provides
/usr/lib64/python2.6/site-packages/ORBit.so ORBit.so()(64bit)
A shared object soname provides is provided by a file in a path from which
other packages should not directly load shared objects from.  Such shared
objects should thus not be depended on and they should not result in provides
in the containing package.  Get rid of the provides if appropriate, for
example by filtering it out during build.  Note that in some cases this may
require disabling rpmbuild's internal dependency generator.

Regards,
Parag.


More information about the packaging mailing list