|
|
|
@ -319,6 +319,7 @@ install -pm 0644 %{SOURCE4} .cache/ade/
|
|
|
|
|
-DINSTALL_PYTHON_EXAMPLES=ON \
|
|
|
|
|
-DPYTHON3_EXECUTABLE=%{__python3} \
|
|
|
|
|
-DPYTHON3_PACKAGES_PATH=%{python3_sitearch} \
|
|
|
|
|
-DOPENCV_GENERATE_SETUPVARS=OFF \
|
|
|
|
|
-DENABLE_PYLINT=ON \
|
|
|
|
|
-DBUILD_PROTOBUF=OFF \
|
|
|
|
|
-DPROTOBUF_UPDATE_FILES=ON \
|
|
|
|
@ -423,7 +424,6 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
|
|
|
|
|
%{_datadir}/opencv4/samples
|
|
|
|
|
|
|
|
|
|
%files -n python3-opencv
|
|
|
|
|
%exclude %{_bindir}/setup_vars_opencv4.sh
|
|
|
|
|
%{python3_sitearch}/cv2.cpython-3*.so
|
|
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
|