diff --git a/opencv.spec b/opencv.spec index 64318e2..a1a7e8a 100644 --- a/opencv.spec +++ b/opencv.spec @@ -321,6 +321,9 @@ install -pm 0644 %{S:4} .cache/ade/ # disabling IPP because it is closed source library from intel %cmake \ +%if 0%{?fedora} > 38 + -DCMAKE_CXX_STANDARD=17 \ +%endif -DCV_TRACE=OFF \ -DWITH_IPP=OFF \ -DWITH_ITT=OFF \ @@ -528,6 +531,7 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope - Use bundle flatbuffers, tried build with flatbuffers from system but doesn't build - Use oneVPL instead libmfx - Add WeChat QRCode +- https://src.fedoraproject.org/rpms/opencv/pull-request/23 , upgrade C++ standard to C++17 for protobuf v4 (23.x etc.) * Thu Jul 20 2023 Fedora Release Engineering - 4.7.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild