https://bugzilla.redhat.com/show_bug.cgi?id=2138899
--- Comment #5 from Ankur Sinha (FranciscoD) sanjay.ankur@gmail.com --- Yeh, there are multiple ways of "fixing" this, but I can't see myself inspecting each package to debug why the license file isn't being picked up---there are lots of PEPs and lots of build systems in the Python ecosystem now. No way I'll have time to learn them all and debug rpm macros.
So, best to do what works for you here. I just make sure there's a license file marked as such---automatically or explicitly.
(I don't see the license file mentioned in the pyproject.toml file. So I'd have expected it not to be picked up, but if it were picked up, I'd have expected it to be marked. So yeh, probably something worth reporting in pyproject rpm macros)