rpm not finding python dependency

Léon Keijser keijser at stone-it.com
Mon Mar 22 20:33:56 UTC 2010


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.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=545720
[2] http://leon.fedorapeople.org/files/googsystray/googsystray.spec

$ rpm -q rpm rpmlint
rpm-4.7.2-1.fc12.x86_64
rpmlint-0.95-2.fc12.noarch


regards,

Léon



More information about the devel mailing list