public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: opencv package dont need setup_vars
@ 2026-08-28 13:32
0 siblings, 0 replies; only message in thread
From: @ 2026-08-28 13:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 6eab18dcc362947222204739069645dece9c4eb6
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2022-03-20T04:07:40+00:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/6eab18dcc362947222204739069645dece9c4eb6?branch=opencv5
Log:
opencv package dont need setup_vars
we may turn OFF setup_vars_opencv
---
diff --git a/opencv.spec b/opencv.spec
index 6334b6a..f156b51 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -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}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:32 [rpms/opencv] opencv5: opencv package dont need setup_vars
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox