15
0

- disable django support on SLE15 also

* Fix peek when value is so large that a file is used
  * Support pathlib.Path as directory argument

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-diskcache?expand=0&rev=31
This commit is contained in:
2025-07-05 14:54:02 +00:00
committed by Git OBS Bridge
parent 520480941a
commit de85442ee4
2 changed files with 11 additions and 6 deletions

View File

@@ -16,8 +16,8 @@
#
%if 0%{?suse_version} == 1600
# No django in SLFO:Main
%if 0%{?suse_version} == 1600 || 0%{?suse_version} == 1500
# No django in SLFO:Main or SLE15
%bcond_with django
%else
%bcond_without django
@@ -40,8 +40,8 @@ BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with django}
BuildRequires: %{python_module Django if (%python-base without python36-base)}
BuildRequires: %{python_module pytest-django if (%python-base without python36-base)}
BuildRequires: %{python_module Django}
BuildRequires: %{python_module pytest-django}
%endif
Requires: python
BuildArch: noarch