14
0

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pulsectl?expand=0&rev=28
This commit is contained in:
2025-06-11 06:15:54 +00:00
committed by Git OBS Bridge
parent 036393b588
commit 6d0576392b
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 11 05:49:26 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 26 11:39:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Wed Feb 26 11:39:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -26,7 +26,9 @@ License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/mk-fg/python-pulse-control URL: https://github.com/mk-fg/python-pulse-control
Source: https://files.pythonhosted.org/packages/source/p/pulsectl/pulsectl-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pulsectl/pulsectl-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools Requires: python-setuptools
@@ -53,10 +55,10 @@ play, player-like client).
%setup -q -n pulsectl-%{version} %setup -q -n pulsectl-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test} %if %{with test}
@@ -68,6 +70,6 @@ play, player-like client).
%license COPYING %license COPYING
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%{python_sitelib}/pulsectl %{python_sitelib}/pulsectl
%{python_sitelib}/pulsectl-%{version}*-info %{python_sitelib}/pulsectl-%{version}.dist-info
%changelog %changelog