Add conditional to use cmake28 package for EL6.
This commit is contained in:
parent
133ed4f241
commit
cfc0cdb83f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue