On Wed, 2020-08-26 at 20:23 +0200, Miro Hrončok wrote: > On 26. 08. 20 19:59, Michel Alexandre Salim wrote: > > 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. > > I don't really know who maintains `rpmdev-newspec python-foo` but the > output > (when I run this on Fedora 32) is really severely outdated beyond > being any > useful. I remember trying to update the template many years ago but > got stuck at > EPEL-compatibility issues. > Neal maintains rpmdevtools, both on src.fp.o and on Pagure
I'll get a PR in to make the Python spec a bit more up to date. This brings to mind that I've been intendeing to have a spec template and a packaging guideline for Lua for a while; that can go next. Thanks, -- Michel Alexandre Salim profile: https://keybase.io/michel_slm chat via email: https://delta.chat/ GPG key: 5DCE 2E7E 9C3B 1CFF D335 C1D7 8B22 9D2F 7CCC 04F2
signature.asc
Description: This is a digitally signed message part
_______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org