public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Use -Wl,--as-needed until dependencies are better sorted out upstream
Date: Fri, 28 Aug 2026 13:30:37 GMT	[thread overview]
Message-ID: <178792383728.1.13595995365391216995.rpms-opencv-e8cb9f1050c7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/opencv
            Branch : opencv5
            Commit : e8cb9f1050c7559efe452532f89d3a84aada0a6f
            Author : Nicolas Chauvet <kwizart@gmail.com>
            Date   : 2016-08-05T11:19:43+02:00
            Stats  : +10/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/opencv/c/e8cb9f1050c7559efe452532f89d3a84aada0a6f?branch=opencv5

            Log:
            Use -Wl,--as-needed until dependencies are better sorted out upstream
https://github.com/opencv/opencv/issues/7001

---
diff --git a/opencv.spec b/opencv.spec
index accc191..8d2fd42 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -10,9 +10,15 @@
 %bcond_with    xine
 %global srcname opencv
 
+# Required because opencv-core has lot of spurious dependencies
+# (despite supposed to be "-core")
+# TODO: to be fixed properly upstream
+# https://github.com/opencv/opencv/issues/7001
+%global optflags %(echo %{optflags} -Wl,--as-needed )
+
 Name:           opencv
 Version:        3.1.0
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Collection of algorithms for computer vision
 Group:          Development/Libraries
 # This is normal three clause BSD.
@@ -355,6 +361,9 @@ popd
 %{_libdir}/libopencv_xphoto.so.3.1*
 
 %changelog
+* Tue Jul 26 2016 Nicolas Chauvet <kwizart@gmail.com> - 3.1.0-8
+- Clean uneeded symbols until fixed upstream
+
 * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-7
 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
 

                 reply	other threads:[~2026-08-28 13:30 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=178792383728.1.13595995365391216995.rpms-opencv-e8cb9f1050c7@fedoraproject.org \
    --to=kwizart@gmail.com \
    --cc=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