diff --git a/opencv.spec b/opencv.spec index ea8fd65..dab493e 100644 --- a/opencv.spec +++ b/opencv.spec @@ -70,7 +70,7 @@ cmake ../../ -DCMAKE_BUILD_TYPE=Release\ -DPYTHON_LIBRARY=$(python3 -c "import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR')+ '/libpython3.so')")\ -DCMAKE_INSTALL_PREFIX=/usr make -j24 V=1 -ctest -E "opencv_test_imgproc" +ctest -E "opencv_test_objdetect opencv_test_photo" %install @@ -84,6 +84,7 @@ make install DESTDIR=%{buildroot} %{_libdir}/* %{_includedir}/* %exclude /usr/share/* +/usr/lib/python3.8/site-packages/cv2/* %changelog * Wed Nov 17 2021 shenwei - 4.5.2-4