SPECS: wireshark.spec - ghost soname symlinks

Pawel Golaszewski blues at pld-linux.org
Sat Jan 5 23:15:40 CET 2008


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.

> so far only thing automatic is %find_lang
> you want to introduce %find_ldconfig ? :)

yep, would be nice ;)

-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.


More information about the pld-devel-en mailing list