1
0
forked from pool/python-Django

Accepting request 942286 from home:jayvdb:branches:devel:languages:python:django

- Avoid dependency on backports.zoneinfo except on Python 3.8

OBS-URL: https://build.opensuse.org/request/show/942286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=97
This commit is contained in:
John Vandenberg 2021-12-24 23:29:23 +00:00 committed by Git OBS Bridge
parent f5dc5666e4
commit 36c1e640e9
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 24 02:26:37 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Avoid dependency on backports.zoneinfo except on Python 3.8
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 20 10:37:10 UTC 2021 - Matej Cepl <mcepl@suse.com> Mon Dec 20 10:37:10 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -38,7 +38,7 @@ BuildRequires: %{python_module Pillow >= 6.2.0}
BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module argon2-cffi >= 16.1.0} BuildRequires: %{python_module argon2-cffi >= 16.1.0}
BuildRequires: %{python_module asgiref >= 3.4.1} BuildRequires: %{python_module asgiref >= 3.4.1}
BuildRequires: %{python_module backports.zoneinfo} BuildRequires: %{python_module backports.zoneinfo if (%python-base with python38-base)}
BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module bcrypt} BuildRequires: %{python_module bcrypt}
BuildRequires: %{python_module docutils} BuildRequires: %{python_module docutils}
@ -55,7 +55,9 @@ Requires: python
Requires: python-Pillow >= 6.2.0 Requires: python-Pillow >= 6.2.0
Requires: python-argon2-cffi >= 16.1.0 Requires: python-argon2-cffi >= 16.1.0
Requires: python-asgiref >= 3.4.1 Requires: python-asgiref >= 3.4.1
%if "%{python_flavor}" == "python38"
Requires: python-backports.zoneinfo Requires: python-backports.zoneinfo
%endif
Requires: python-pytz Requires: python-pytz
Requires: python-setuptools Requires: python-setuptools
Requires: python-sqlparse >= 0.2.2 Requires: python-sqlparse >= 0.2.2