Notification time stamped 2021-03-31 19:18:30 UTC
From fabc286ec1aebb1550a4cecbb075dda04435980d Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mar 31 2021 19:18:03 +0000
Subject: Disable tests for now
---
diff --git a/opencv.spec b/opencv.spec
index 05df7f8..fda3980 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -1,5 +1,11 @@
%undefine __cmake_in_source_build
+# Tests are disabled with gcc-11
+# See
https://bugzilla.redhat.com/1944536
+%if 0%{?fedora} > 33
+%bcond_with tests
+%else
%bcond_without tests
+%endif
%bcond_with ffmpeg
%bcond_without gstreamer
%bcond_with eigen2
@@ -280,6 +286,9 @@ install -pm 0644 %{SOURCE4} .cache/ade/
-DWITH_ITT=OFF \
-DWITH_QT=ON \
-DWITH_OPENGL=ON \
+%if ! %{with tests}
+ -BUILD_TESTS=OFF \
+%endif
-DOpenGL_GL_PREFERENCE=GLVND \
-DWITH_GDAL=ON \
-DWITH_OPENEXR=ON \
https://src.fedoraproject.org/rpms/opencv/c/fabc286ec1aebb1550a4cecbb075d...