on %install of the 2.2.12-20 spec, there is a call to #this is kind of ugly, but we have asked for it touch /boot/kernel.h || : this would change a file that is not inside the RPM_BUILD_ROOT and which belongs to the -headers subpackage of an old kernel package. touch RPM_BUILD_ROOT/boot/kernel.h would be all what is needed, bit almos at the end of the %install script there is a > $RPM_BUILD_ROOT/boot/kernel.h that would make this first statement unnecesary.
Assigned to dledford
This is fixed in the current kernel builds.