forked from pool/python-python-memcached
- Kill memcache deamon at the end of the tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-memcached?expand=0&rev=26
This commit is contained in:
committed by
Git OBS Bridge
parent
cea91b03d5
commit
52457b3eb9
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user