-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 06 June 2003 03:11, Olav Vitters wrote: > On Fri, Jun 06, 2003 at 02:03:24AM +0200, Per Øyvind Karlsen wrote: > > [EMAIL PROTECTED] SPECS]$ rpm -bb mc.spec > > error: Package already exists: %package debug > > > > looking at the mc.spec, there's nothing about any debug package there, > > I've encountered this one earlier too, why is this? > > 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. > > The debug package also causes other interesting problems. See bug 3929 > (http://qa.mandrakesoft.com/show_bug.cgi?id=3929), %group can't be used. > Some packages also use %summary for menu files. The debug package causes > %group & %summary to change and the packager won't see this in the spec > file. > > The following in a spec file should disable those debug packages: > %define debug_package %{nil} 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? - -- Regards, Per Øyvind Karlsen Sintrax Solutions http://www.sintrax.net - +47 41681061 - -------------------------------------------- GPG Key: http://sintrax.net/~hawkeye/key.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+3+ssv8F7V9JOSuURAoQeAJ9g2TJ0IZo72kxN5r5aIRMoKJRrOgCcCbIn XQWtaRnLC0/pykCAX6cJNho= =tqD+ -----END PGP SIGNATURE-----