On Wed, Dec 15, 2021 at 12:49:51PM -0800, Michel Alexandre Salim wrote:
On Tue, Dec 14, 2021 at 02:29:58PM -0800, Michel Alexandre Salim
wrote:
> Hi all,
>
> Neal Gompa and I have been reviving the effort to get our mailing list
> server infrastructure (currently running on RHEL 7 with missing packages
> provided in an unofficial repo) hostable on RHEL 9 + EPEL.
>
> Pagure issue:
https://pagure.io/fedora-infrastructure/issue/8455
> Bugzilla tracker:
https://bugzilla.redhat.com/show_bug.cgi?id=2030061
> Status:
https://hackmd.io/Pb9otlVGQHe1r9BIC5bi7w (not fully updated yet)
>
Any objection if I modernize python-django's spec file so we get
automatic BRs? I accidentally branched python-mock for EPEL9 because
Django BR-ed it, before realizing that it's an out of date BR and the
unit tests all use `from unittest import mock` already
ref:
https://fedoraproject.org/wiki/Changes/DeprecatePythonMock
python-django without python-mock built for Rawhide:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1867385
PR:
https://src.fedoraproject.org/rpms/python-django/pull-request/20
This now adheres closely to the Python Packaging Guidelines
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
- automatic BRs
- Consistently use pyproject macros
As a bonus, it's so much cleaner and we track the directories for
localization files better. Provides and Requires are sane (I provided
details in the PR comments)
I'll leave this open for a couple of days and then merge it if there's
no objection.
Thanks,
--
Michel Alexandre Salim
profile:
https://keyoxide.org/michel@michel-slm.name