From 7fb0ac7cdfa05b3e8d0dde2454a7534351b468a0 Mon Sep 17 00:00:00 2001 From: "Richard M. Shaw" Date: Tue, 20 May 2014 21:39:03 -0500 Subject: [PATCH] Fix cmake conditional for epel7. --- OpenColorIO.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenColorIO.spec b/OpenColorIO.spec index 129148f..1c28921 100644 --- a/OpenColorIO.spec +++ b/OpenColorIO.spec @@ -5,7 +5,7 @@ } # Use cmake28 package on EL builds. -%if 0%{?el6} +%if 0%{?rhel} && 0%{?rhel} <= 6 %global cmake %cmake28 -DCMAKE_SKIP_RPATH=OFF %endif @@ -22,7 +22,7 @@ Source0: %{name}-%{version}.tar.gz Patch0: OpenColorIO-yaml_cpp3.patch # Utilities -%if 0%{?el6} +%if 0%{?rhel} && 0%{?rhel} <= 6 BuildRequires: cmake28 %else BuildRequires: cmake