From b5ae892e0933cbd4766d92b41c7338120b009c404557fafeeecb22d4b4100246 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 21 Dec 2022 09:48:13 +0000 Subject: [PATCH] - Recommends python-pymemcache instead of the deprecated python-python-memcached. This is the module used in Django since 3.2 https://docs.djangoproject.com/en/3.2/releases/3.2/#pymemcache-support OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=121 --- python-Django.changes | 7 +++++++ python-Django.spec | 8 +++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-Django.changes b/python-Django.changes index 84b4edf..a8bdc16 100644 --- a/python-Django.changes +++ b/python-Django.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 21 09:39:56 UTC 2022 - Daniel Garcia + +- Recommends python-pymemcache instead of the deprecated + python-python-memcached. This is the module used in Django since 3.2 + https://docs.djangoproject.com/en/3.2/releases/3.2/#pymemcache-support + ------------------------------------------------------------------- Tue Dec 6 13:30:53 UTC 2022 - Alberto Planas Dominguez diff --git a/python-Django.spec b/python-Django.spec index c16805f..97f71eb 100644 --- a/python-Django.spec +++ b/python-Django.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %define skip_python36 1 # Selenium and memcached are not operational @@ -69,7 +68,7 @@ Recommends: python-Jinja2 >= 2.9.2 Recommends: python-PyYAML Recommends: python-geoip2 Recommends: python-pylibmc -Recommends: python-python-memcached >= 1.59 +Recommends: python-pymemcache Provides: python-django = %{version} Obsoletes: python-django < %{version} Provides: python-South = %{version} @@ -77,7 +76,7 @@ Obsoletes: python-South < %{version} BuildArch: noarch %if %{with memcached} BuildRequires: %{python_module pylibmc} -BuildRequires: %{python_module python-memcached >= 1.59} +BuildRequires: %{python_module pymemcache} %endif %if %{with selenium} # python-selenium is supported only on the Intel architecture. @@ -104,8 +103,7 @@ echo "`grep -e '^[0-9a-f]\{32\} Django-%{version}.tar.gz' %{SOURCE1} | cut -c1- echo "`grep -e '^[0-9a-f]\{40\} Django-%{version}.tar.gz' %{SOURCE1} | cut -c1-40` %{SOURCE0}" | sha1sum -c echo "`grep -e '^[0-9a-f]\{64\} Django-%{version}.tar.gz' %{SOURCE1} | cut -c1-64` %{SOURCE0}" | sha256sum -c -%setup -q -n Django-%{version} -%autopatch -p1 +%autosetup -p1 -n Django-%{version} %build %python_build