diff --git a/python-psutil.spec b/python-psutil.spec index 841e81b..c7ecd76 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -25,7 +25,7 @@ BuildRequires: procps-ng BuildRequires: python%{python3_pkgversion}-mock BuildRequires: python%{python3_pkgversion}-setuptools -%if 0%{?fedora} < 32 +%if 0%{?fedora} < 32 && 0%{?rhel} < 9 BuildRequires: python2-mock BuildRequires: python2-devel BuildRequires: python2-ipaddress