On Tue, 20 Feb 2007, Andreas Jaeger wrote:

> [EMAIL PROTECTED] writes:
> 
> > Example: Some time ago, a package really used popt, so the check told you 
> > to add "Requires: popt-devel" to the -devel package. Later, the package 
> > stops using popt, but the check doesn't notice that and the dependency will 
> > stay forevermore. This is especially annoying if the authors of this 
> > package spent resources into getting rid of that dependency.
> >
> > # rpm -ql libnotify-devel | grep \\.la
> > /usr/lib/libnotify.la
> > # grep popt /usr/lib/libnotify.la
> > (no matches)
> > # rpm -ql libnotify-devel | xargs grep popt\\.h
> > (no matches)
> 
> What should we do?  Remove popt.la from the package?
> 
> But what is the general solution?

Most .la files packaged in -devel packages can be removed in case
static linking is not required.  .la files necessary at runtime to
make ltdlopen work should be packaged in the regular library package.

Now, whether we should stop packaging static libraries for each and
every library we have is another (valid) question.

Richard.

-- 
Richard Guenther <[EMAIL PROTECTED]>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to