From 7d3aed77fd4bf04667e4634629524785b5c3acea Mon Sep 17 00:00:00 2001 From: Dmitry Popovich <32481693+Tualua@users.noreply.github.com> Date: Sat, 20 Apr 2024 13:58:03 +0800 Subject: [PATCH] Require python36-libvirt for all RHEL7 distros --- build/rpm/pcp.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rpm/pcp.spec.in b/build/rpm/pcp.spec.in index 5579bc79cb..aa3873031c 100755 --- a/build/rpm/pcp.spec.in +++ b/build/rpm/pcp.spec.in @@ -1858,7 +1858,7 @@ Requires: python3-pcp python3-lxml %if "%{_vendor}" == "suse" Requires: python3-libvirt-python %else -%if 0%{?centos_ver} == 7 +%if 0%{?centos_ver}%{?rhel} == 7 Requires: python36-libvirt %else Requires: libvirt-python3