Description of problem: See http://www.securityfocus.com/archive/1/351758/2004-01-27/2004-02-02/0 https://www.redhat.com/archives/fedora-devel-list/2004-March/msg00492.html | + /usr/lib/rpm/check-rpaths | WARNING: file '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.so' contains an invalid rpath '/var/tmp/gphoto2-2.1.5-root/usr/lib' in [/var/tmp/gphoto2-2.1.5-root/usr/lib] | WARNING: file '/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.so' contains an invalid rpath '/var/tmp/gphoto2-2.1.5-root/usr/lib' in [/var/tmp/gphoto2-2.1.5-root/usr/lib] or | $ readelf -d /usr/lib/gphoto2/*/libgphoto2_agfa_cl20.so | 0x0000000f (RPATH) Library rpath: [/usr/src/build/467105-i386/install/usr/lib] Version-Release number of selected component (if applicable): gphoto2-2.1.5-3
*** Bug 152008 has been marked as a duplicate of this bug. ***
Created attachment 112288 [details] Fix for RPATH build problem (it causes some unpackaged files, which can be solved easily) Fix is trivial and can be described by the following words: "Never use %makeinstall, 'make DESTDIR=$RPM_BUILD_ROOT' is the better solution".
Created attachment 112289 [details] proposed spec fix Attached patch fixes it. On Rawhide, however, OpenJade causes a fatal error, so I've only done a test-build on FC3.
Thanks, I used the patch from comment #3.