diff --git a/python-python-memcached.changes b/python-python-memcached.changes index aa64982..0b9920a 100644 --- a/python-python-memcached.changes +++ b/python-python-memcached.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-python-memcached.spec b/python-python-memcached.spec index b4d3511..0f1ab2e 100644 --- a/python-python-memcached.spec +++ b/python-python-memcached.spec @@ -32,6 +32,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: memcached BuildRequires: python-rpm-macros +BuildRequires: util-linux Requires: memcached Requires: python-six BuildArch: noarch @@ -63,8 +64,9 @@ sed -i \ %python_install %check -/usr/sbin/memcached & +/usr/sbin/memcached -dv -P $PWD/memcached.pid %python_expand nosetests-%{$python_bin_suffix} +kill -9 $(cat $PWD/memcached.pid) %files %{python_files} %license PSF.LICENSE