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 Packaging

 
 
LinkBack Thread Tools
 
Old 01-07-2008, 11:40 AM
"Eduardo M KALINOWSKI"
 
Default Automatic detection of Requires and versions

Hi,

I'm attempting to package a program I wrote, that uses the GTK+
libraries. It uses features first found in the 2.10.X series, so I
include

BuildRequires: gtk2-devel >= 2.10.0

(and similar lines for glib and other required libraries). All this is
OK. The problem is regarding the Requires for the generated .rpm. I
could use

Requires: gtk2 >= 2.10.0

but apparently this is bad style and bad for maintenance, because
dependencies are found automatically on build time. However, without
manually adding the requires, the generated .rpm contains (with regard
to GTK+) this:

libgtk-x11-2.0.so.0

that is, no mention of the version, and I expect that even a GTK+ 2.8
package (old as that may be) should provide that file with that name.

What is the best way to handle that? Include the Require manually?
Leave this as-is?

Thanks in advance,

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 

Thread Tools




All times are GMT. The time now is 01:23 AM.

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