diff --git a/python-Django.changes b/python-Django.changes index 8bb5e84..c1bff6b 100644 --- a/python-Django.changes +++ b/python-Django.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 24 02:26:37 UTC 2021 - John Vandenberg + +- Avoid dependency on backports.zoneinfo except on Python 3.8 + ------------------------------------------------------------------- Mon Dec 20 10:37:10 UTC 2021 - Matej Cepl diff --git a/python-Django.spec b/python-Django.spec index 64551fa..55c66b9 100644 --- a/python-Django.spec +++ b/python-Django.spec @@ -38,7 +38,7 @@ BuildRequires: %{python_module Pillow >= 6.2.0} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module argon2-cffi >= 16.1.0} 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 bcrypt} BuildRequires: %{python_module docutils} @@ -55,7 +55,9 @@ Requires: python Requires: python-Pillow >= 6.2.0 Requires: python-argon2-cffi >= 16.1.0 Requires: python-asgiref >= 3.4.1 +%if "%{python_flavor}" == "python38" Requires: python-backports.zoneinfo +%endif Requires: python-pytz Requires: python-setuptools Requires: python-sqlparse >= 0.2.2