Update to 4.1.2

This commit is contained in:
Sérgio M. Basto 2019-10-13 23:57:58 +01:00
parent 79b7475e7a
commit d6b2548b11
2 changed files with 12 additions and 7 deletions

View File

@ -1,4 +1,4 @@
export VERSION=4.1.1
export VERSION=4.1.2
wget -c https://github.com/opencv/opencv/archive/${VERSION}/opencv-${VERSION}.tar.gz
tar xf opencv-${VERSION}.tar.gz

View File

@ -50,7 +50,7 @@
%global srcname opencv
%global abiver 4.1
%global javaver 411
%global javaver 412
# Required because opencv-core has lot of spurious dependencies
# (despite supposed to be "-core")
@ -59,7 +59,7 @@
%global optflags %(echo %{optflags} -Wl,--as-needed )
Name: opencv
Version: 4.1.1
Version: 4.1.2
Release: 1%{?dist}
Summary: Collection of algorithms for computer vision
# This is normal three clause BSD.
@ -298,6 +298,7 @@ popd
-DINSTALL_PYTHON_EXAMPLES=ON \
-DPYTHON2_EXECUTABLE=false \
-DPYTHON3_EXECUTABLE=%{__python3} \
-DPYTHON3_PACKAGES_PATH=%{python3_sitearch} \
-DENABLE_PYLINT=ON \
-DBUILD_PROTOBUF=OFF \
-DPROTOBUF_UPDATE_FILES=ON \
@ -415,9 +416,10 @@ popd
%{_libdir}/libopencv_calib3d.so.%{abiver}*
%{_libdir}/libopencv_ccalib.so.%{abiver}*
#Module opencv_datasets disabled because opencv_text dependency can't be resolved!
%{_libdir}/libopencv_datasets.so.%%{abiver}*
%{_libdir}/libopencv_dnn.so.%%{abiver}*
%{_libdir}/libopencv_dnn_objdetect.so.%%{abiver}*
%{_libdir}/libopencv_datasets.so.%{abiver}*
%{_libdir}/libopencv_dnn.so.%{abiver}*
%{_libdir}/libopencv_dnn_objdetect.so.%{abiver}*
%{_libdir}/libopencv_dnn_superres.so.%{abiver}*
%{_libdir}/libopencv_dpm.so.%{abiver}*
%{_libdir}/libopencv_face.so.%{abiver}*
%{_libdir}/libopencv_freetype.so.%{abiver}*
@ -435,13 +437,16 @@ popd
%{_libdir}/libopencv_stereo.so.%{abiver}*
%{_libdir}/libopencv_structured_light.so.%{abiver}*
%{_libdir}/libopencv_surface_matching.so.%{abiver}*
%{_libdir}/libopencv_text.so.%%{abiver}*
%{_libdir}/libopencv_text.so.%{abiver}*
%{_libdir}/libopencv_tracking.so.%{abiver}*
%{_libdir}/libopencv_ximgproc.so.%{abiver}*
%{_libdir}/libopencv_xobjdetect.so.%{abiver}*
%{_libdir}/libopencv_xphoto.so.%{abiver}*
%changelog
* Sat Oct 12 2019 Nicolas Chauvet <kwizart@gmail.com> - 4.1.2-1
- Update to 4.1.2
* Fri Sep 13 2019 Nicolas Chauvet <kwizart@gmail.com> - 4.1.1-1
- Update to 4.1.1