On Wed, 2003-04-02 at 22:47, Michael Fratoni wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wednesday 02 April 2003 01:58 pm, Shawn wrote: > > I've been updating some spec files and wanted to know how to disable > > debuginfo package building, and also when I want it later how to > > control what files get put into it, and the description for it and so > > on. > > > > Thanks, > > To disable them from being built: > echo "%debug_package %{nil}" >> ~/.rpmmacros > (Or perhaps /etc/rpmmacros) > > There is some info in the release notes on this as well. Yes, about doing it for the local system, but I wanted to embed something in the .spec file itself to prevent it, not just for the current user building the package, which I later found something that works quite well for that: %define debug_package %{nil} Placing the above in my .spec file makes it so that no matter who builds it a debuginfo rpm isn't generated, which is good because with the particular package I've modified the .spec for, the debuginfo rpm that's generated is empty, so there was no point in generating it. -- Shawn <drevil@xxxxxxxxxxxx> http://www.warpcore.org/