diff --git a/python-pymemcache.changes b/python-pymemcache.changes index 7c9ccd5..d41460f 100644 --- a/python-pymemcache.changes +++ b/python-pymemcache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 10 09:03:10 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Apr 21 12:31:00 UTC 2023 - Dirk Müller diff --git a/python-pymemcache.spec b/python-pymemcache.spec index a467242..384cfe0 100644 --- a/python-pymemcache.spec +++ b/python-pymemcache.spec @@ -1,7 +1,7 @@ # # spec file for package python-pymemcache # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2014 Thomas Bechtold # # All modifications and additions to the file contributed by third parties @@ -26,14 +26,16 @@ Summary: A pure Python memcached client License: Apache-2.0 URL: https://github.com/Pinterest/pymemcache Source: https://files.pythonhosted.org/packages/source/p/pymemcache/pymemcache-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: memcached BuildRequires: python-rpm-macros BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module gevent} BuildRequires: %{python_module Faker} +BuildRequires: %{python_module gevent} BuildRequires: %{python_module pylibmc} BuildRequires: %{python_module pytest} BuildRequires: %{python_module zstd} @@ -57,10 +59,10 @@ pymemcache supports the following features: sed -i 's/tool:pytest/tool:ignore-pytest-cov/' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check