SPECS: wireshark.spec - ghost soname symlinks

Elan Ruusamäe glen at delfi.ee
Sun Jan 6 02:22:25 CET 2008


On Sunday 06 January 2008 00:15:40 Pawel Golaszewski wrote:
> On Sat, 5 Jan 2008, Elan Ruusamäe wrote:
> > > On Sat, 5 Jan 2008, qboosh wrote:
> > > > Author: qboosh                       Date: Sat Jan  5 15:08:17 2008
> > > > GMT Module: SPECS                         Tag: HEAD
> > > > ---- Log message:
> > > > - ghost soname symlinks
> > >
> > > [...]
> > >
> > > > +%attr(755,root,root) %ghost %{_libdir}/libwireshark.so.0
> > >
> > > Shouldn't rpm generate these entries automagically?
> >
> > how? i mean how would rpmbuild make the decision that this symlink:
> > 1. shouild be added automatically to %files
> > 2. rpmbuild would know this symlink is ldconfig ghost
>
> You have full list of files. After that you can make ldconfig in buildroot
> and you have differences :) only ghost it.
usually the symlinks are done by make install, ldconfig in buildroot would 
just make the same links.

> > so far only thing automatic is %find_lang
> > you want to introduce %find_ldconfig ? :)
>
> yep, would be nice ;)

3. how would it know which subpackage the library is in

-- 
glen


More information about the pld-devel-en mailing list