Author: hobbes1069
Update of /cvs/nonfree/rpms/OCE/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19630
Modified Files:
OCE.spec
Log Message:
Update spec to support EL 6.
Index: OCE.spec
===================================================================
RCS file: /cvs/nonfree/rpms/OCE/devel/OCE.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- OCE.spec 10 Oct 2013 15:05:03 -0000 1.8
+++ OCE.spec 11 Oct 2013 17:58:06 -0000 1.9
@@ -43,7 +43,11 @@
BuildRequires: tcl-devel
BuildRequires: tk-devel
%ifnarch %arm
+ %if 0%{?rhel}
+BuildRequires: openmpi-devel
+ %else
BuildRequires: tbb-devel
+ %endif
%endif
@@ -147,7 +151,11 @@
-DOCE_INSTALL_LIB_DIR=%{_lib} \
-DOCE_WITH_FREEIMAGE=ON \
-DOCE_WITH_GL2PS=ON \
+%if 0%{?rhel}
+ -DOCE_MULTITHREAD_LIBRARY:STRING=OPENMP \
+%else
-DOCE_MULTITHREAD_LIBRARY:STRING=TBB \
+%endif
-DOCE_DRAW=ON \
-DOCE_TESTING=ON \
../
Show replies by date