From ca3771c78d8a35ded95cba0d9a543e53ee845020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 26 May 2023 14:34:32 +0200 Subject: [PATCH] Fix the conditional tests-related BuildRequires for Python version python3-devel is not installed, hence the conditional needs to be on python3. It only "worked" with toml because toml was pulled as a transitive dependency. --- 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 d52c37c..46fdc76 100644 --- a/pyproject-rpm-macros.spec +++ b/pyproject-rpm-macros.spec @@ -61,7 +61,7 @@ BuildRequires: python3dist(setuptools) BuildRequires: python3dist(tox-current-env) >= 0.0.6 %endif BuildRequires: python3dist(wheel) -BuildRequires: (python3dist(tomli) if python3-devel < 3.11) +BuildRequires: (python3dist(tomli) if python3 < 3.11) %endif # We build on top of those: