diff --git a/python-python-memcached.changes b/python-python-memcached.changes index 706f444..6ca3e2f 100644 --- a/python-python-memcached.changes +++ b/python-python-memcached.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 4 16:36:26 UTC 2025 - Dirk Müller + +- fix tests for SLE15 + ------------------------------------------------------------------- Thu Feb 1 21:18:55 UTC 2024 - Dirk Müller @@ -184,7 +189,7 @@ Fri Apr 1 11:23:28 UTC 2011 - oliver.bengs@opensuse.org - make use of --record-rpm from setuptools ------------------------------------------------------------------- -Sat Feb 26 14.13.54 UTC 2011 - stian@viskjer.net +Sat Feb 26 14:13:54 UTC 2011 - stian@viskjer.net - python-memcached 1.47 * Bug #680359: useOldServerHashFunction() is broken. It now @@ -217,7 +222,7 @@ Sat Feb 26 14.13.54 UTC 2011 - stian@viskjer.net authorship to Sean. ------------------------------------------------------------------- -Fri Nov 26 23.00.00 UTC 2010 - stian@viskjer.net +Fri Nov 26 23:00:00 UTC 2010 - stian@viskjer.net - python-memcached 1.45 * Initial specfile based on Fedora's v1.43-6 diff --git a/python-python-memcached.spec b/python-python-memcached.spec index 8456576..51b675e 100644 --- a/python-python-memcached.spec +++ b/python-python-memcached.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-memcached # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -61,7 +61,12 @@ sed -i -e '/__version__/s/[0-9.]\+/%{version}/' memcache.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +%if 0%{?suse_version} > 1500 %{_bindir}/memcached -dv -P $PWD/memcached.pid +%else +%{_sbindir}/memcached -dv -P $PWD/memcached.pid +%endif + %pytest kill -9 $(cat $PWD/memcached.pid)