rpm not finding python dependency

Tom "spot" Callaway tcallawa at redhat.com
Mon Mar 22 20:41:52 UTC 2010


On 03/22/2010 04:33 PM, Léon Keijser wrote:
> Hi,
> 
> I'm trying to create a package [1], and run into a slight problem when
> running rpmlint on the resulting rpm:
> 
> $ rpmlint -i googsystray-1.1.4-2.fc12.noarch.rpm 
> googsystray.noarch: E: explicit-lib-dependency python-xlib
> You must let rpm find the library dependencies by itself. Do not put
> unneeded explicit Requires: tags.
> 
> 
> If i don't specify the 'Requires: python-xlib' line [2], the application
> doesn't work, because rpm won't find the dependency by itself. Since
> rpmlint shouldn't output any errors, i'm somewhat at a loss here. 
> 
> Advice would be welcome.

Safe to ignore. rpmlint assumes all dependencies which contain the
explicit string "lib" are traditional library (with .so files inside)
packages and can be autodetected, as opposed to explicitly stated.

In your case, the explicit Requires is correct.

~spot


More information about the devel mailing list