opencv package dont need setup_vars

we may turn OFF setup_vars_opencv
This commit is contained in:
Sérgio M. Basto 2022-03-19 23:45:16 +00:00
parent 30d51f5a61
commit 6eab18dcc3

View File

@ -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}