Skip to content

Commit e6376b9

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
extras: enable some recommended extras on centos 9
Signed-off-by: John Mulligan <[email protected]>
1 parent 64d16d1 commit e6376b9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

extras/python-sambacc.spec

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,16 @@ Summary: %{summary}
4040
# Distro requires that are technically optional for the lib
4141
Requires: python3-samba
4242
Requires: python3-pyxattr
43-
%if 0%{?fedora} >= 37
43+
%if 0%{?fedora} >= 37 || 0%{?rhel} >= 9
44+
# Enable extras other than validation as the dependency needed
45+
# is too old on centos/rhel 9.
4446
Recommends: %{name}+toml
45-
Recommends: %{name}+validation
4647
Recommends: %{name}+yaml
4748
Recommends: %{name}+rados
4849
%endif
50+
%if 0%{?fedora} >= 37
51+
Recommends: %{name}+validation
52+
%endif
4953

5054
%description -n python3-%{bname} %_description
5155

0 commit comments

Comments
 (0)