Per https://pagure.io/packaging-committee/issue/782, "Forbid %{pythonX_site(lib|arch)}/* in %files" Python packages should not blindly glob contents of the sitelib/sitearch directories.
This makes sense, in fact, I just got bit by this packaging python- sphinx-hoverxref (https://bugzilla.redhat.com/show_bug.cgi?id=1872508) -- for some reason a `tests` directory also get copied to buildroot and thus get packaged.
`rpmdev-newspec python-foo` still produces a spec with globbing though. This is just a matter of omission, I presume? I can put up a PR fixing this.
Cheers,