Generate debuginfo RPMS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux