[OpenImageIO] Update cmake conditionals for epel7.
Richard Shaw
hobbes1069 at fedoraproject.org
Tue May 20 18:42:29 UTC 2014
commit fee5a3bd2e4528fa1571685b4ba7b0ec462879ed
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date: Tue May 20 13:42:30 2014 -0500
Update cmake conditionals for epel7.
OpenImageIO.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
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
More information about the scm-commits
mailing list