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

yang.y.yi at gmail.com yang.y.yi at gmail.com
Fri Jul 1 05:53:20 UTC 2011


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 at 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_hints
> for the correct syntax...
>
> hth,
> jlc
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110701/0ffc7df1/attachment.html 


More information about the users mailing list