Fix cmake conditional for epel7.

This commit is contained in:
Richard M. Shaw 2014-05-20 21:39:03 -05:00
parent abf66a8dcf
commit 7fb0ac7cdf
1 changed files with 2 additions and 2 deletions

View File

@ -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