|
|
|
@ -6,7 +6,7 @@
@@ -6,7 +6,7 @@
|
|
|
|
|
%bcond_without gui |
|
|
|
|
|
|
|
|
|
# Setting the Python-version used by default |
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 6 |
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8 |
|
|
|
|
%bcond_with python3 |
|
|
|
|
%else |
|
|
|
|
%bcond_without python3 |
|
|
|
@ -20,7 +20,7 @@
@@ -20,7 +20,7 @@
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
# Sphinx-build cannot import CMakeLexer on EPEL <= 6 |
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8 |
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7 |
|
|
|
|
%bcond_without sphinx |
|
|
|
|
%else |
|
|
|
|
%bcond_with sphinx |
|
|
|
|