Re: How forbidden is RPATH?

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

 



tibbs@xxxxxxxxxxx (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.



Enrico

Attachment: pgpEgfjcbMcX7.pgp
Description: PGP signature

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

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux