FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 03-22-2010, 07:33 PM
Léon Keijser
 
Default rpm not finding python dependency

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

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-22-2010, 07:41 PM
"Tom "spot" Callaway"
 
Default rpm not finding python dependency

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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 07:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org