From de85442ee45d3ff3655e609e2cae686241280758c91821c846d980e213e4f651 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 5 Jul 2025 14:54:02 +0000 Subject: [PATCH] - 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 --- python-diskcache.changes | 9 +++++++-- python-diskcache.spec | 8 ++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-diskcache.changes b/python-diskcache.changes index 22d81b5..031bb48 100644 --- a/python-diskcache.changes +++ b/python-diskcache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 5 14:53:34 UTC 2025 - Dirk Müller + +- disable django support on SLE15 also + ------------------------------------------------------------------- Thu Jun 5 06:01:37 UTC 2025 - Steve Kowalik @@ -18,7 +23,7 @@ Wed Sep 27 12:15:19 UTC 2023 - ecsos Mon Sep 4 15:58:51 UTC 2023 - Dirk Müller - update to 5.6.3: - * Fix peek when value is so large that a file is used + * Fix peek when value is so large that a file is used ------------------------------------------------------------------- Wed Apr 26 06:24:33 UTC 2023 - Dirk Müller @@ -28,7 +33,7 @@ Wed Apr 26 06:24:33 UTC 2023 - Dirk Müller * pylint fixes * Add maxlen parameter to diskcache.Deque * update docs - * Support pathlib.Path as directory argument + * Support pathlib.Path as directory argument ------------------------------------------------------------------- Sat Jan 15 17:42:10 UTC 2022 - Dirk Müller diff --git a/python-diskcache.spec b/python-diskcache.spec index 1cabd95..860838c 100644 --- a/python-diskcache.spec +++ b/python-diskcache.spec @@ -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