From 6d0576392b6a050cf4095c9730af61074e98e4104d2cc7758ff735c4179bed76 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Jun 2025 06:15:54 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pulsectl?expand=0&rev=28 --- python-pulsectl.changes | 5 +++++ python-pulsectl.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) 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