Accepting request 1123457 from home:darix:branches:devel:languages:python:mailman

- make it easier to notice to keep buildrequires and runtime
  requires version limits in sync. This will also help us to notice
  early when the version of other libraries do not match the
  requires encoded in the source code.

OBS-URL: https://build.opensuse.org/request/show/1123457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-django-mailman3?expand=0&rev=31
This commit is contained in:
Andreas Schneider 2023-11-06 08:25:40 +00:00 committed by Git OBS Bridge
parent 60699afc1d
commit 934ba5fff9
2 changed files with 21 additions and 8 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Nov 6 00:11:01 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>
- make it easier to notice to keep buildrequires and runtime
requires version limits in sync. This will also help us to notice
early when the version of other libraries do not match the
requires encoded in the source code.
-------------------------------------------------------------------
Thu Nov 2 07:18:55 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -15,6 +15,11 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global django_min_version 3.2
%global django_max_version 4.3
%global mailmanclient_min_version 3.3.3
%global django_allauth_min_version 0.56
%global django_gravatar2_min_version 1.0.6
%{?sle15_python_module_pythons}
%define modname django_mailman3
@ -28,17 +33,17 @@ Source: https://files.pythonhosted.org/packages/source/d/django-mailman3
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django >= 1.11
Requires: python-django-allauth >= 0.56
Requires: python-django-gravatar2 >= 1.0.6
Requires: python-mailmanclient
Requires: (python-Django >= %{django_min_version} with python-Django < %{django_max_version})
Requires: python-django-allauth >= %{django_allauth_min_version}
Requires: python-django-gravatar2 >= %{django_gravatar2_min_version}
Requires: python-mailmanclient >= %{mailmanclient_min_version}
Requires: python-pytz
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Django >= 1.11}
BuildRequires: %{python_module django-allauth}
BuildRequires: %{python_module django-gravatar2 >= 1.0.6}
BuildRequires: %{python_module mailmanclient}
BuildRequires: %{python_module Django >= %{django_min_version}}
BuildRequires: %{python_module django-allauth >= %{django_allauth_min_version}}
BuildRequires: %{python_module django-gravatar2 >= %{django_gravatar2_min_version}}
BuildRequires: %{python_module mailmanclient >= %{mailmanclient_min_version}}
BuildRequires: %{python_module pytest-django}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}