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

Kamal Ahmed kamal2222ahmed at yahoo.com
Fri Apr 13 21:47:33 UTC 2012


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 

So i am back to reading up on Rules and regulations on what is allowed and recommended practices but not sure
where i can find detailed information
i am reading Maximum RPM and looking at 

http://stereochro.me/ideas/rpm-for-the-unwilling

From: Michael Schwendt <mschwendt at gmail.com>

To: packaging at lists.fedoraproject.org 
>Sent: Friday, April 13, 2012 5:06 PM
>Subject: Re: [Fedora-packaging] error: Package already exists: %package debuginfo
> 
>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.
>--
>packaging mailing list
>packaging at lists.fedoraproject.org
>https://admin.fedoraproject.org/mailman/listinfo/packaging
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120413/cf2a0d32/attachment.html>


More information about the packaging mailing list