Use the rpmbuild prep stage to apply any patches and configure the kernel exactly as it is in the Fedora distribution.
rpmbuild -bp --target=ARCH ~/rpmbuild/SPECS/kernel-XXX.spec