From: Tom H. <th...@cy...> - 2003-04-30 07:36:51
|
In message <Pin...@ho...> Dag Wieers <da...@wi...> wrote: > PS These packages still have a problem with some private GLIBC symbols > that are in the dependencies of the package. I can't seem to fix this by > doing: > > %define __find_provides() /usr/lib/rpm/find-provides %* | grep -v '^libpthread.so' > %define __find_requires() /usr/lib/rpm/find-requires %* | grep -v 'libc.so.6(GLIBC_PRIVATE)' > > So unless I find a clean way of doing this, you might have to install with > --nodeps on some RH's (RH80 and RH73 afaik). What I do is to add this to the spec file: %define __find_requires %{_sourcedir}/valgrind-find-requires along with a declaration of an extra source file: Source1: valgrind-find-requires The valgrind-find-requires file in my SOURCES directory then looks like this: #!/bin/sh /usr/lib/rpm/find-requires "$@" | grep -v GLIBC_PRIVATE Tom -- Tom Hughes (th...@cy...) Software Engineer, Cyberscience Corporation http://www.cyberscience.com/ |