diff --git a/python-pyudev.spec b/python-pyudev.spec index bd38161..2edf307 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -22,7 +22,6 @@ Version: 0.24.3 Release: 0 Summary: Udev bindings for Python License: LGPL-2.1-or-later -Group: Development/Libraries/Python URL: https://pyudev.readthedocs.io/ Source0: https://github.com/pyudev/pyudev/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}-gh.tar.gz # PATCH-FIX-UPSTREAM pytest_register_mark.patch gh#pyudev/pyudev#404 mcepl@suse.com @@ -34,8 +33,10 @@ Patch2: hypothesis_settings.patch BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module docutils} BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module yapf} BuildRequires: fdupes BuildRequires: pkgconfig @@ -65,10 +66,10 @@ in modern linux systems. sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check