[vtk] Fixup the other EL6 cmake28 conditional
Orion Poplawski
orion at fedoraproject.org
Tue May 15 15:47:52 UTC 2012
commit 043df207bc1f5e5523e782088335309009a9c5c7
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Tue May 15 09:47:50 2012 -0600
Fixup the other EL6 cmake28 conditional
vtk.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vtk.spec b/vtk.spec
index 12166f5..688724f 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -28,7 +28,7 @@ URL: http://vtk.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?rhel} && (0%{?rhel} <= 6)
-BuildRequires: cmake28
+BuildRequires: cmake28
%else
BuildRequires: cmake
%endif
@@ -163,7 +163,7 @@ export JAVA_HOME=/usr/lib/jvm/java
mkdir build
pushd build
-%if (0%{?rhel} <= 6)
+%if 0%{?rhel} && (0%{?rhel} <= 6)
%{cmake28} .. \
%else
%{cmake} .. \
More information about the scm-commits
mailing list