Den 17:39 21. oktober 2011 skrev Jeff Johnson <j...@rpm5.org> følgende: > RPM Package Manager, CVS Repository > http://rpm5.org/cvs/ > ____________________________________________________________________________ > > Server: rpm5.org Name: Jeff Johnson > Root: /v/rpm/cvs Email: j...@rpm5.org > Module: rpm Date: 21-Oct-2011 17:39:03 > Branch: rpm-5_4 Handle: 2011102115390101 > > Modified files: (Branch: rpm-5_4) > rpm CHANGES > rpm/macros macros.rpmbuild.in > rpm/scripts find-debuginfo.sh > > Log: > - debuginfo: use current dir instead of $RPM_BUILD_DIR. D'oh, a bit late discovered, but better than never..
$RPM_BUILD_DIR == %{_builddir} while $PWD == %{_builddir}/%{?buildsubdir} So for most packages which have their own %buildsubdir, this will mess up the paths for debug packages, ie. see the following example: [peroyvind@t61 linux_logo]$ rpm -qpl /home/peroyvind/RPM/linux_logo/RPMS/x86_64/linux_logo-debug-5.11-1-mdv2012.0.x86_64.rpm /usr/lib/debug /usr/lib/debug/.build-id /usr/lib/debug/.build-id/02 /usr/lib/debug/.build-id/02/da5f6707c052c4293ea8e055de33d2704a3933 /usr/lib/debug/.build-id/02/da5f6707c052c4293ea8e055de33d2704a3933.debug /usr/lib/debug/usr /usr/lib/debug/usr/bin /usr/lib/debug/usr/bin/linux_logo.debug /usr/src/debug/defaults.h /usr/src/debug/home /usr/src/debug/home/peroyvind /usr/src/debug/home/peroyvind/RPM /usr/src/debug/home/peroyvind/RPM/linux_logo /usr/src/debug/home/peroyvind/RPM/linux_logo/BUILD /usr/src/debug/home/peroyvind/RPM/linux_logo/BUILD/linux_logo-5.11 /usr/src/debug/libsysinfo-0.2.2 /usr/src/debug/libsysinfo-0.2.2/Linux /usr/src/debug/libsysinfo-0.2.2/Linux/cpuinfo_x86.c /usr/src/debug/libsysinfo-0.2.2/Linux/sysinfo_linux.c /usr/src/debug/libsysinfo-0.2.2/all /usr/src/debug/libsysinfo-0.2.2/all/fix_mhz.c /usr/src/debug/libsysinfo-0.2.2/all/parsing.c /usr/src/debug/libsysinfo-0.2.2/all/sysinfo_common.c /usr/src/debug/libsysinfo-0.2.2/all/uname.c /usr/src/debug/libsysinfo-0.2.2/sysinfo.h /usr/src/debug/linux_logo.c /usr/src/debug/linux_logo.h /usr/src/debug/load_logo.c /usr/src/debug/load_logos.h /usr/src/debug/logo_types.h -- Regards, Per Øyvind ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org