Skip to content

Commit c6d8007

Browse files
Don't dependend on libcgroup on RHEL/CentOS, as it is deprecated (and removed from RHEL/CentOS >= 9)
Signed-off-by: Romain Geissler <romain.geissler@amadeus.com>
1 parent 1fb6e36 commit c6d8007

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

rpm/SPECS/docker-ce.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ Requires: container-selinux >= 2:2.74
2222
Requires: libseccomp >= 2.3
2323
Requires: systemd
2424
Requires: iptables
25+
%if ! 0%{?rhel}
26+
# Libcgroup is deprecated on all RHEL/CentOS distros.
2527
Requires: libcgroup
28+
%endif
2629
Requires: containerd.io >= 1.4.1
2730
Requires: tar
2831
Requires: xz

0 commit comments

Comments
 (0)