On 03/02/2012 08:02 AM, Gianluca Varenni wrote:
Hi all. I have a problem generating debuginfo RPMs. I have two very similar spec files, using the same SOURCES. One generates the debuginfo package, one doesn't. The different is in practice only in the %prep section: NODEBUGINFO: %prep rm -rf $RPM_BUILD_ROOT cd $RPM_BUILD_DIR rm -rf api tar -xf $RPM_SOURCE_DIR/tcapi.tar cd api /bin/chmod -Rf a+rX,u+w,g-w,o-w . DEBUGINFO %prep rm -rf $RPM_BUILD_ROOT %setup -q -n api It looks like the symbols are extracted only when using the %setup directory. I guess it's something really obvious, but I have no idea what.
At least there's %buildsubdir macro which the debuginfo creation relies on - it gets set automatically from %setup, otherwise not. There might be other issues as well.
If using %setup works, why would you want to do it manually? :) - Panu - _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list