Notification time stamped 2023-05-31 19:16:53 UTC
From ca3771c78d8a35ded95cba0d9a543e53ee845020 Mon Sep 17 00:00:00 2001
From: Miro Hrončok <miro(a)hroncok.cz>
Date: May 31 2023 16:25:49 +0000
Subject: 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.
---
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:
https://src.fedoraproject.org/rpms/pyproject-rpm-macros/c/ca3771c78d8a35d...