Add conditional to use cmake28 package for EL6.

This commit is contained in:
Richard M. Shaw 2013-10-01 14:39:12 -05:00
parent 133ed4f241
commit cfc0cdb83f
1 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
%if 0%{?rhel}
%global cmake %cmake28
%endif
Name: OpenImageIO
Version: 1.2.1
Release: 1%{?dist}
@ -17,7 +21,12 @@ Patch1: oiio-ppc.patch
Patch2: oiio-s390.patch
Patch3: oiio-hdf5.patch
BuildRequires: cmake txt2man
%if 0%{?rhel}
BuildRequires: cmake28
%else
BuildRequires: cmake
%endif
BuildRequires: txt2man
BuildRequires: qt4-devel
BuildRequires: boost-devel
BuildRequires: glew-devel