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

Re: How do I turn off debug rpms on a rebuild?



On Mon, 17 Feb 2003, Michael Fratoni wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Monday 17 February 2003 07:55 am, Mattias Dahlberg wrote:
> > On Sun, 16 Feb 2003, sean darcy wrote:
> > > Bingo. That did it. And, it works whether it is in ~/.rpmmacros or
> > > /etc/rpm/macros.
> >
> > Do all Red Hat's SRPMs have debug on by default?
> 
> It's not package dependent, rpm is configured to produce them by default.
> 
> $ rpm --showrc | grep debug
> - -14: __debug_install_post
>    /usr/lib/rpm/find-debuginfo.sh
> - -14: debug_package
> %global __debug_package 1
> %package debug
> %description debug
> This package provides debug information for package %{name}.
> package or when debugging this package.
> %files debug -f debugfiles.list

Only if redhat-rpm-config is installed i think.
 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a lounge-singing devious card sharp trapped in a world he never made. 
She's a beautiful African-American snake charmer from out of town. They fight 
crime! 





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