error: Package already exists: %package debuginfo
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. ;-)
packaging mailing list