diff --git a/1.59.tar.gz b/1.59.tar.gz new file mode 100644 index 0000000..c1c3256 --- /dev/null +++ b/1.59.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e39f5444b0eb5dcbdef1ce8f72bd73f3fb188a420fc33f23d039525efe523863 +size 32334 diff --git a/python-memcached-1.58.tar.gz b/python-memcached-1.58.tar.gz deleted file mode 100644 index e62502d..0000000 --- a/python-memcached-1.58.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2775829cb54b9e4c5b3bbd8028680f0c0ab695db154b9c46f0f074ff97540eb6 -size 30562 diff --git a/python-python-memcached.changes b/python-python-memcached.changes index 8d67940..0b9920a 100644 --- a/python-python-memcached.changes +++ b/python-python-memcached.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Aug 8 13:56:44 UTC 2018 - tchvatal@suse.com + +- Kill memcache deamon at the end of the tests + +------------------------------------------------------------------- +Wed Aug 8 13:28:02 UTC 2018 - tchvatal@suse.com + +- Version update to 1.59: + * Various fixes for python 3.7 and 3.6 +- Run tests + ------------------------------------------------------------------- Thu Aug 24 13:52:44 UTC 2017 - jmatejek@suse.com diff --git a/python-python-memcached.spec b/python-python-memcached.spec index f6ee1b1..0f1ab2e 100644 --- a/python-python-memcached.spec +++ b/python-python-memcached.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-memcached # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,23 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python -%bcond_with test Name: python-python-memcached -Version: 1.58 +Version: 1.59 Release: 0 Summary: Pure python memcached client License: Python-2.0 Group: Development/Languages/Python -Url: http://www.tummy.com/Community/software/python-memcached/ -Source: https://files.pythonhosted.org/packages/source/p/python-memcached/python-memcached-%{version}.tar.gz -BuildRequires: %{python_module devel} +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 nose} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module nose} BuildRequires: memcached -%endif +BuildRequires: python-rpm-macros +BuildRequires: util-linux Requires: memcached Requires: python-six BuildArch: noarch @@ -55,6 +53,9 @@ for more information. %prep %setup -q -n python-memcached-%{version} +sed -i \ + -e 's:#!/usr/bin/env python::' \ + memcache.py %build %python_build @@ -62,14 +63,14 @@ for more information. %install %python_install -%if %{with test} %check +/usr/sbin/memcached -dv -P $PWD/memcached.pid %python_expand nosetests-%{$python_bin_suffix} -%endif +kill -9 $(cat $PWD/memcached.pid) %files %{python_files} -%defattr(-,root,root,-) -%doc README.md PSF.LICENSE +%license PSF.LICENSE +%doc README.md %{python_sitelib}/* %changelog