[Fedora-packaging] error: Package already exists: %package debuginfo

Michael Schwendt mschwendt at gmail.com
Fri Apr 13 21:06:54 UTC 2012


On Fri, 13 Apr 2012 13:54:54 -0700 (PDT), KA (Kamal) wrote:

> Found a solution
> 
> echo "%debug_package %{nil}" >> ~/.rpmmacros

Not good. That disables the automatic -debuginfo package builds.
The better "fix" for your problem would be to drop the
  %package debuginfo
from your spec file, because you are not supposed to handle the
debuginfo files yourself. You haven't told why you added such
a %package definition to your spec file.


More information about the packaging mailing list