How can I find out which packages have a build requirement on some package
I'm aware of the following command
dnf repoquery --alldeps --recursive --whatrequires foo
in order to query all packages which have a requirement on package
However, packages with a build requirement only are not listed there. How can I list such packages, too?