diff --git a/OpenImageIO.spec b/OpenImageIO.spec index 65d8252..69f816d 100644 --- a/OpenImageIO.spec +++ b/OpenImageIO.spec @@ -1,4 +1,4 @@ -%if 0%{?rhel} +%if 0%{?rhel} && 0%{?rhel} <= 6 %global cmake %cmake28 %endif @@ -20,7 +20,7 @@ Patch1: oiio-ppc.patch Patch2: oiio-s390.patch Patch3: oiio-cmake.patch -%if 0%{?rhel} +%if 0%{?rhel} && 0%{?rhel} <= 6 BuildRequires: cmake28 %else BuildRequires: cmake