diff --git a/opencv.spec b/opencv.spec index 5573af0..9c8a549 100644 --- a/opencv.spec +++ b/opencv.spec @@ -1,6 +1,6 @@ %undefine __cmake_in_source_build %bcond_without tests -%bcond_with extras +%bcond_without extras %bcond_with ffmpeg %bcond_without gstreamer %bcond_with eigen2 @@ -12,9 +12,6 @@ # we dont have openni in other archs %bcond_with openni %endif -%if 0%{?rhel} >= 8 -%bcond_with openni -%endif %bcond_without tbb %bcond_with cuda %bcond_with xine @@ -36,11 +33,7 @@ %else %bcond_with libmfx %endif -%if 0%{?rhel} >= 8 -%bcond_with clp -%else %bcond_without clp -%endif %ifarch %{java_arches} %bcond_without java %else @@ -167,7 +160,7 @@ BuildRequires: vtk-java #ceres-solver-devel push eigen3-devel and tbb-devel %{?with_tbb: %{?with_eigen3: -#BuildRequires: ceres-solver-devel +BuildRequires: ceres-solver-devel } } %{?with_openblas: