How to enable build a debuginfo package using rpmbuild locally on Fedora 14?

Joseph L. Casale jcasale at activenetwerx.com
Thu Jun 30 11:17:45 UTC 2011


>> debuginfo package, it is invalid to put "%define debug_package 1" in 
>> spec file, anybody knows how to enable this? Thank in advance.
>I am running F14 and when I rpmbuild, I always get the debuginfo package 
>also built.

Although you only need rpm-build to build one, the addition of redhat-rpm-config
changes the default behavior and builds the debug packages by default.

See http://fedoraproject.org/wiki/How_to_create_an_RPM_package#Miscellaneous_hints
for the correct syntax...

hth,
jlc


More information about the users mailing list