14
0

- 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:
Tomáš Chvátal
2018-08-08 13:56:56 +00:00
committed by Git OBS Bridge
parent cea91b03d5
commit 52457b3eb9
2 changed files with 8 additions and 1 deletions

View File

@@ -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 Wed Aug 8 13:28:02 UTC 2018 - tchvatal@suse.com

View File

@@ -32,6 +32,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: memcached BuildRequires: memcached
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: util-linux
Requires: memcached Requires: memcached
Requires: python-six Requires: python-six
BuildArch: noarch BuildArch: noarch
@@ -63,8 +64,9 @@ sed -i \
%python_install %python_install
%check %check
/usr/sbin/memcached & /usr/sbin/memcached -dv -P $PWD/memcached.pid
%python_expand nosetests-%{$python_bin_suffix} %python_expand nosetests-%{$python_bin_suffix}
kill -9 $(cat $PWD/memcached.pid)
%files %{python_files} %files %{python_files}
%license PSF.LICENSE %license PSF.LICENSE