diff --git a/vtk.spec b/vtk.spec index 032e698..12166f5 100644 --- a/vtk.spec +++ b/vtk.spec @@ -27,7 +27,7 @@ Patch5: vtk-5.6.1-system.patch URL: http://vtk.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -%if (0%{?rhel} <= 6) +%if 0%{?rhel} && (0%{?rhel} <= 6) BuildRequires: cmake28 %else BuildRequires: cmake