invert logic to be forward-looking

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-16 01:17:44 +01:00
parent 4b3510c3d9
commit 5a3317177d

View File

@ -35,10 +35,10 @@
%bcond_without cmake_enables_rpm
# Sphinx-build cannot import CMakeLexer on EPEL <= 6
%if 0%{?fedora} || 0%{?rhel} >= 7
%bcond_without cmake_enables_sphinx
%if 0%{?rhel} && 0%{?rhel} <= 6
%bcond_with cmake_enables_sphin
%else
%bcond_with cmake_enables_sphinx
%bcond_without cmake_enables_sphinx
%endif
# Run tests