diff --git a/python-redis.changes b/python-redis.changes index 843f9f7..ef3bc98 100644 --- a/python-redis.changes +++ b/python-redis.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Mar 26 13:46:39 UTC 2024 - John Paul Adrian Glaubitz + +- Switch build system from setuptools to pyproject.toml + + Add python-pip and python-wheel to BuildRequires + + Replace %python_build with %pyproject_wheel + + Replace %python_install with %pyproject_install + ------------------------------------------------------------------- Mon Jan 15 20:19:45 UTC 2024 - Dirk Müller diff --git a/python-redis.spec b/python-redis.spec index 0b9d699..44cc2e7 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -33,10 +33,12 @@ Patch1: Close-various-objects-created-during-asyncio-tests.patch BuildRequires: %{python_module async-timeout >= 4.0.2} BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: psmisc BuildRequires: python-rpm-macros @@ -72,10 +74,10 @@ rm tests/test_json.py rm tests/test_timeseries.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %if %{with testing}