From 6336f3bf9c26b14033e736ab7272a0ed936cac4c Mon Sep 17 00:00:00 2001 From: basebuilder_pel7x64builder0 Date: Sun, 28 Oct 2018 14:23:58 +0100 Subject: [PATCH] cmake3 build without sphinx Signed-off-by: basebuilder_pel7x64builder0 --- SPECS/cmake3.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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