Hi,
i need to build a rpm package with debuginfo, this is the default result on my Fedora 10, but on Fedora 14, rpmbuild didn't build a debuginfo package, it is invalid to put "%define debug_package 1" in spec file, anybody knows how to enable this? Thank in advance.
On 06/29/2011 07:05 PM, yang.y.yi@gmail.com wrote:
Hi,
i need to build a rpm package with debuginfo, this is the default result on my Fedora 10, but on Fedora 14, rpmbuild didn't build a 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.
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_hin... for the correct syntax...
hth, jlc
Finally, i find the answer by myself, just add line
%debug_package
in spec file. thank you for your active responses.
On Thu, Jun 30, 2011 at 7:17 PM, Joseph L. Casale <jcasale@activenetwerx.com
wrote:
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_hin... for the correct syntax...
hth, jlc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines