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

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

 



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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux