On Fri, Jun 06, 2003 at 03:15:21AM +0200, Per Øyvind Karlsen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 06 June 2003 03:11, Olav Vitters wrote:
> > See /usr/lib/rpm/macros; %install is now a macro that defines the debug
> > package and calls the real %install. The mc.spec file contains multiple
> > %install references (see changelog, %install instead of %%install). This
> > causes the debug package to be defined multiple times.
> 
> well, yes, but that's not the problem, I wondered why it happened, of course 
> it should create a debug package, but why does it claim that a debug package 
> already exist when there's nothing about any debug package in the .spec?

Wasn't my explanation good enough? On every '%install' in the spec file,
it will try to define the debug package again. Creating a package
multiple times it not allowed, so rpm will complain.

To fix it, change every %install below %changelog to %%install.

-- 
Regards,
Olav

Reply via email to