public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: opencv package dont need setup_vars
Date: Fri, 28 Aug 2026 13:32:09 GMT	[thread overview]
Message-ID: <178792392951.1.3237958850485472205.rpms-opencv-6eab18dcc362@fedoraproject.org> (raw)

            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}

                 reply	other threads:[~2026-08-28 13:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178792392951.1.3237958850485472205.rpms-opencv-6eab18dcc362@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox