forked from pool/python-pulsectl
Accepting request 1284628 from devel:languages:python
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1284628 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pulsectl?expand=0&rev=14
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user