on kernel-2.2.12-20's SPEC there is a bug on %build where BuildPCMCIA would be called twice when there is an i386 Build, resulting on an error on a build of the spec as a normal user, because of an attempt to overwrite a read only file. actually, the first files build for BuildPCMCIA are tagged as BOOT and then overwriten for the final ones (if building the spec as root). as can be seen on the following extract of the kernel spec, when arch = i386, the BuildPCMCIA instruction is called twice, ... #BOOT kernel BuildKernel BOOT %ifarch i386 BuildPCMCIA BOOT %endif SaveHeaders BOOT ... #NORMAL KERNEL BuildKernel %ifarch i386 i586 i686 BuildiBCS no BuildPCMCIA %endif .... actually the first call of BuildPCMCIA has no sense.., since there isn't a corresponding -pcmcia package for boot subpackage, so this could be commented, keeping like this #BOOT kernel BuildKernel BOOT SaveHeaders BOOT ...
The call for building it in the BOOT section is for building the modules, which are used in the -BOOT kernel.
Assigned to dledford
I believe this bug to be fixed in the 2.4 kernel rpm of current releases. Please reopen if it is still a problem in 7.3.