From de26d79feef0dee34e7f15ec5936666b5844e994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 12 Jun 2025 15:16:16 +0200 Subject: [PATCH] spec: Don't use tomli on Fedora, fix comment --- osbuild.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osbuild.spec b/osbuild.spec index 52ca0848..bf602895 100644 --- a/osbuild.spec +++ b/osbuild.spec @@ -40,8 +40,8 @@ Requires: (%{name}-selinux if selinux-policy-%{selinuxtype}) Requires: python3-librepo # This is required for `osbuild`, for RHEL-10 and above -# the stdlib toml package can be used instead -%if 0%{?rhel} < 10 +# the stdlib tomllib module can be used instead +%if 0%{?rhel} && 0%{?rhel} < 10 Requires: python3-tomli %endif