From 825daec58299f52f28fe5838076278075d74612265be8444da7976550573ee0a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 11 Apr 2022 13:49:23 +0000 Subject: [PATCH] Accepting request 969201 from home:mcalabkova:branches:devel:languages:python - do not use mock OBS-URL: https://build.opensuse.org/request/show/969201 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-memcached?expand=0&rev=34 --- python-python-memcached.changes | 5 +++++ python-python-memcached.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-python-memcached.changes b/python-python-memcached.changes index 88bd14d..54944b5 100644 --- a/python-python-memcached.changes +++ b/python-python-memcached.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 11 13:02:07 UTC 2022 - Markéta Machová + +- do not use mock + ------------------------------------------------------------------- Wed Jun 3 11:51:18 UTC 2020 - Marketa Calabkova diff --git a/python-python-memcached.spec b/python-python-memcached.spec index fa03859..7eb5e2d 100644 --- a/python-python-memcached.spec +++ b/python-python-memcached.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-memcached # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,6 @@ License: Python-2.0 Group: Development/Languages/Python URL: https://github.com/linsomniac/python-memcached Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} @@ -56,6 +55,7 @@ for more information. sed -i \ -e 's:#!/usr/bin/env python::' \ memcache.py +sed -i 's/import mock/import unittest.mock as mock/' tests/test_memcache.py %build %python_build