Accepting request 1066415 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1066415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-semantic_version?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2023-02-19 17:18:29 +00:00 committed by Git OBS Bridge
commit 2fb7b76676
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 17 16:27:23 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Test with Django only with Factory
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 29 13:29:38 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org> Sun May 29 13:29:38 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -39,9 +39,11 @@ BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
%if 0%{?suse_version} > 1550
# Django 4.0 dropped support for Python < 3.8 # Django 4.0 dropped support for Python < 3.8
BuildRequires: %{python_module Django >= 1.11 if (%python-base without python36-base)} BuildRequires: %{python_module Django >= 1.11 if (%python-base without python36-base)}
%endif %endif
%endif
%python_subpackages %python_subpackages
%description %description