When building rpm's for centos I continue to get this error ERROR 0020: file '/usr/local/probe/lib64/libasan.so.0.0.0' contains an rpath referencing '..'
According to the docs I should be able to ignore this by calling:
QA_RPATHS=$[ 0x0020 ] rpmbuild -v -bb --target=x86_64 ~/rpmbuild/SPECS/$PACKAGE.spec
But it still gives me the same error.
the QA_RPATHS did solve the problem but our spec file was exporting a different QA_RPATH in the script. Once I removed that it was resolved.