how to disable debuginfo packages?

Paul W. Frields paul at frields.com
Wed Oct 15 15:27:17 UTC 2003


On Wed, 2003-10-15 at 10:30, Pavel Rosenboim wrote:
> Is there a way to disable *globally* -debuginfo packages creation 
> without modifying spec files?

In your ~/.rpmmacros file, add:

%_enable_debug_packages  0    # This may not be strictly necessary
%debug_package           %{nil}   # ...but this is

You could edit a file /etc/rpm/macros.nodebug and place these directives
therein to globally affect all users as well, if that's not a Bad Idea
on your system.
-- 
Paul W. Frields <paul at frields.com>





More information about the fedora-test-list mailing list