Matwey V. Kornilov wrote:
Hi,
/usr/lib/rpm/brp-rpath says:
ERROR: RPATH "/usr/src/packages/BUILD/... on ... is not allowed
I think I understand why: just because the binary was linked with -rpath RPMBUILDDIR/... What is the correct solution of the problem? Should I patch the Makefile? Is there way to change rpath in the linked binary?
I am removing the rpaths with chrpath -d ${RPM_BUILD_ROOT}%{_libdir}/*.so at the end of %install. That also needs BuildRequires:chrpath to work. Greetings -- Thomas Schmidt (tschmidt [at] suse.de) SUSE Linux Products GmbH :: Research & Development :: Tools 144 pixels ought to be enough for anybody, www.blinkenlights.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org