/sbin/new-kernel-pkg is required for %post, %preun, and %posttrans scriptlets.
But the only dependency in kernel.spec is
Instead, to reflect the use in %post and %preun, it should be
It does not seem to be possible to encode the %posttrans scriptlet dependency correctly, but I would suggest the following hack:
The issue was discovered in:
added to cvs. thanks.