Generate debuginfo RPMS
Gianluca Varenni
Gianluca.Varenni at riverbed.com
Fri Mar 2 06:02:11 UTC 2012
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.
Thanks in advance
GV
More information about the Rpm-list
mailing list