Re: libgnomecanvas owns %{_libdir}/libglade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 7 Nov 2008 17:43:15 +0530
"Debarshi Ray" <debarshi.ray@xxxxxxxxx> wrote:

> >> I need to put a symlink in %{_libdir}/libglade/2.0/ [1] and found
> >> that it is libgnomecanvas that owns it and not libglade in Fedora
> >> 9.
> >>
> >> [rishi@freebook ~]$ rpm -qf /usr/lib64/libglade/
> >> libgnomecanvas-2.20.1.1-2.fc9.x86_64
> >> [rishi@freebook ~]$
> >>
> >> Is this how it is supposed to be? Or is this a bug?
> 
> > Neither libglade nor libglade-devel include the %{_libdir}/libglade
> > directory or anything within it.
> 
> Maybe I was not very clear. I used "libglade" to mean the any of the
> libglade packages -- 1.0 and 2.0.
> 
> My main objective is to know whether a package that is going to put a
> symlink in %{_libdir}/libglade/2.0/ would need to have 'Requires:
> libgnomecanvas' because, if not anything, it looks a bit odd to me
> since it looks related to libglade.

You either need to own the directory yourself (probably the best bet of
you don't need libgnomecanvas otherwise), or add a dep on
libgnomecanvas, and add a comment in the spec that libgnomecanvas is
only needed for ownership of %{_libdir}/libglade{,/2.0}.

There's actually another option, which would be to add a dependency on
the directory itself, which would be satisfied by any package that
claimed ownership of that directory. That approach is frowned upon
though because it means that depsolvers need to download the large
filelists data to find an appropriate package to resolve the dependency.

Paul.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux