From: Neal Becker (ndbecker2_at_gmail.com)
Date: Sun Jul 29 2007 - 04:21:54 PDT
I'm beginning to like a simpler alternative to fixing the rpath problem. Fedora now has a little util called chrpath. After %install, just add: chrpath -d ${RPM_BUILD_ROOT}/%{_bindir}/cr_checkpoint chrpath -d ${RPM_BUILD_ROOT}/%{_bindir}/cr_restart This deletes the rpaths. Only issue is, should add buildrequires chrpath. How to make this rule apply only to systems that need it?