I try to build kernel linux today.
I have this two web links to do that:

1. https://fedoraproject.org/wiki/Building_a_custom_kernel
# sudo dnf builddep kernel.spec

not work

2. https://fedoraproject.org/wiki/Building_a_custom_kernel/Source_RPM
$ $rpmdev-setuptree This command creates a new directory ~/rpmbuild,
$ koji download-build --arch=src kernel-<version>
bash: syntax error near unexpected token `newline'

not work

I don't want to make a old kernel linux instalation, because Fedora distro
need to come with tools for that.

Can you help me with this issue?