From d4330ffa0144cb17ff6e5dcff2e6449a979edff1ef5c7bf8fe123119e4a39b1a Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 12 Jan 2023 21:18:19 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=11 --- python-pyqt-builder.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python-pyqt-builder.spec b/python-pyqt-builder.spec index 10c3634..821d8dc 100644 --- a/python-pyqt-builder.spec +++ b/python-pyqt-builder.spec @@ -32,7 +32,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module base >= 3.6} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-sip-devel >= 6.7 @@ -60,10 +59,10 @@ sip-install or pip can then be used to build and install the project. %autosetup -p1 -n PyQt-builder-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pyqt-bundle %python_clone -a %{buildroot}%{_bindir}/pyqt-qt-wheel %python_expand %fdupes %{buildroot}%{$python_sitelib}