forked from pool/python-pymemcache
- Fix launch of memcached for tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymemcache?expand=0&rev=36
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 7 13:33:02 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Fix launch of memcached for tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 13:11:08 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
Wed Dec 7 13:11:08 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -71,7 +71,11 @@ sed -i 's/tool:pytest/tool:ignore-pytest-cov/' setup.cfg
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
if [ -f %{_sbindir}/memcached ]; then
|
||||||
%{_sbindir}/memcached &
|
%{_sbindir}/memcached &
|
||||||
|
elif [ -f %{_bindir}/memcached ]; then
|
||||||
|
%{_bindir}/memcached &
|
||||||
|
fi
|
||||||
|
|
||||||
cat << EOF > pytest.ini
|
cat << EOF > pytest.ini
|
||||||
[pytest]
|
[pytest]
|
||||||
|
Reference in New Issue
Block a user