How forbidden is RPATH?
enrico.scholz at informatik.tu-chemnitz.de
Sun Apr 30 11:07:51 UTC 2006
tibbs at math.uh.edu (Jason L Tibbitts III) writes:
> I'm reviewing a package (rapidsvn,
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190139) that
> makes rpmlint complain:
> E: rapidsvn binary-or-shlib-defines-rpath /usr/bin/rapidsvn ['/usr/lib64']
This will happen for every package whose upstream tarball was created
with a non-RH libtool and afaik, there is no easy way to prevent it.
IMO, best solution is
do some dirty patching of ./configure; this is not very portable and
causes a bunch of problems when people do not use AM_MAINTAINER_MODE
but I do not have a general recipe for it. Perhaps something like
| sed -i -e 's!sys_lib_search_path_spec=.*"!\0 /%_lib /usr/%_lib"! libtool
after %configure. But this is a kind of dirty patching too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 480 bytes
Desc: not available
More information about the fedora-extras-list