From e6376b939b20a96319f720e2ae554557bcef831f Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Fri, 19 Jan 2024 12:55:37 -0500 Subject: [PATCH] extras: enable some recommended extras on centos 9 Signed-off-by: John Mulligan --- extras/python-sambacc.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/extras/python-sambacc.spec b/extras/python-sambacc.spec index 6045131..ad8a5e0 100644 --- a/extras/python-sambacc.spec +++ b/extras/python-sambacc.spec @@ -40,12 +40,16 @@ Summary: %{summary} # Distro requires that are technically optional for the lib Requires: python3-samba Requires: python3-pyxattr -%if 0%{?fedora} >= 37 +%if 0%{?fedora} >= 37 || 0%{?rhel} >= 9 +# Enable extras other than validation as the dependency needed +# is too old on centos/rhel 9. Recommends: %{name}+toml -Recommends: %{name}+validation Recommends: %{name}+yaml Recommends: %{name}+rados %endif +%if 0%{?fedora} >= 37 +Recommends: %{name}+validation +%endif %description -n python3-%{bname} %_description