rpm not finding python dependency
On 03/22/2010 04:33 PM, Léon Keijser wrote:
> I'm trying to create a package , 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 , 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.
devel mailing list