From 1a867b5ab79a57d4207b423d0c2e36d9df2283bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 24 Jul 2025 00:01:34 +0200 Subject: [PATCH] Only BuildRequire wheel when setuptools < 71 --- pyproject-rpm-macros.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject-rpm-macros.spec b/pyproject-rpm-macros.spec index a689107..9d61299 100644 --- a/pyproject-rpm-macros.spec +++ b/pyproject-rpm-macros.spec @@ -61,7 +61,7 @@ BuildRequires: python3dist(setuptools) %if %{with tox_tests} BuildRequires: python3dist(tox-current-env) >= 0.0.16 %endif -BuildRequires: python3dist(wheel) +BuildRequires: (python3dist(wheel) if python3dist(setuptools) < 71) BuildRequires: (python3dist(tomli) if python3 < 3.11) %endif