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

Michael Schwendt mschwendt at gmail.com
Sat Apr 14 10:45:53 UTC 2012


On Fri, 13 Apr 2012 14:47:33 -0700 (PDT), KA (Kamal) wrote:

> ok removed the macro from .rpmmacros
> 
> i think the error was because i had comment 
> 
> #This ...
> in the %install section
> 
> since i did NOT have any 
> 
> %package debuginfo
> 
> hence i deduce that 

A comment within the %install section does not cause an error like that,
but be careful with RPM macros in comments. They are expanded, too, and
can lead to unexpected results/errors.

A full .spec file is easier to review than just an error message without
any context. ;-)


More information about the packaging mailing list