diff --git a/SPECS/cmake3.spec b/SPECS/cmake3.spec index 4a852b83..3474a833 100644 --- a/SPECS/cmake3.spec +++ b/SPECS/cmake3.spec @@ -6,7 +6,7 @@ %bcond_without gui # Setting the Python-version used by default -%if 0%{?rhel} && 0%{?rhel} < 8 +%if 0%{?rhel} && 0%{?rhel} < 6 %bcond_with python3 %else %bcond_without python3 @@ -20,7 +20,7 @@ %endif # Sphinx-build cannot import CMakeLexer on EPEL <= 6 -%if 0%{?fedora} || 0%{?rhel} >= 7 +%if 0%{?fedora} || 0%{?rhel} >= 8 %bcond_without sphinx %else %bcond_with sphinx