https://bugzilla.redhat.com/show_bug.cgi?id=2110055
--- Comment #5 from Jonathan Wright jonathan@almalinux.org ---
One more tiny adjustment needs to be made, but you can do that when you're importing the package into dist-git.
-%{__python3} test.py +%{python3} test.py
Fixed in my sources so it will be correct when I import it.