From 4a4d96ee50eebfb51f21a72a270c2859029f4c955d75919ce5b495957709ed79 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 6 Nov 2024 23:55:34 +0000 Subject: [PATCH] Reverted stupid changes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=68 --- python-pyudev.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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