Just in case, a little howto using the mock route, that you could apply when using the wine source rpm from Fedora:
This was something I did when building hplip for EL8 and EL9, so it will give you an idea of how that build process works if you decide to try it.