Bug #3471
closedrpm: build src, debuginfo packages
0%
Description
we need to build debuginfo packages so that users can get debug symbols for debugging issues. it's something like
rpmbuild -ba ...
also need redhat-rpm-config installed, i think.
google 'rpm debuginfo' for lots of info.
Updated by Anonymous over 11 years ago
The tools needed to build the debug info package are installed with rpm-build package. The redhat-rpm-config package installs macros to automatically build the debug package for all rpm builds. The redhat-rpm-config package is not available for centos 6 and opensuse, but those distributions do provide the debug_package macro.
The fix is to add %debug_package to the spec file for the distributions that don't have the redhat-rpm-config package, and to install the package on the gitbuilders for the distributions where it is available.
Conditional inclusion of %debug_package has been checked into master as commit 1c9ec26eead9a2b59bfefcadcd7a12ee08dcc664.