diff --git a/python-pulsectl.changes b/python-pulsectl.changes index 5ee1b76..7b6ef01 100644 --- a/python-pulsectl.changes +++ b/python-pulsectl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 05:49:26 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Feb 26 11:39:55 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-pulsectl.spec b/python-pulsectl.spec index f1a6cea..d1f8f19 100644 --- a/python-pulsectl.spec +++ b/python-pulsectl.spec @@ -26,7 +26,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/mk-fg/python-pulse-control Source: https://files.pythonhosted.org/packages/source/p/pulsectl/pulsectl-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools @@ -53,10 +55,10 @@ play, player-like client). %setup -q -n pulsectl-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %if %{with test} @@ -68,6 +70,6 @@ play, player-like client). %license COPYING %doc CHANGES.rst README.rst %{python_sitelib}/pulsectl -%{python_sitelib}/pulsectl-%{version}*-info +%{python_sitelib}/pulsectl-%{version}.dist-info %changelog