Accepting request 1066412 from home:dirkmueller:acdc

- Test with Django only with Factory

OBS-URL: https://build.opensuse.org/request/show/1066412
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semantic_version?expand=0&rev=21
This commit is contained in:
Matej Cepl 2023-02-17 16:55:06 +00:00 committed by Git OBS Bridge
parent 057f684251
commit ed36b584a5
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