spec: Don't use tomli on Fedora, fix comment

This commit is contained in:
Miro Hrončok 2025-06-12 15:16:16 +02:00 committed by Simon de Vlieger
parent 42281231b0
commit de26d79fee

View file

@ -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