rpmbuild for debug

view full story

http://forums.fedoraforum.org – Hi I want to build systemsettings for debug. I would like to use rpmbuild to do it..for example rpmbuild -bc SPECS/kde-workspace.spec. However I do not understand how I can force the build to build for debug...i.e. use the -g flag. How do I tell rpmbuild to build the target for debug? Do I have to somehow modify the .rpmmacros file ........maybe modify the %_smp_mflags variable. Or is rpmbuild not designed for me to do this? Do I have to do the build manually? Thanks for your help (HowTos)