public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Use -Wl,--as-needed until dependencies are better sorted out upstream
@ 2026-08-28 13:30 Nicolas Chauvet
  0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-08-28 13:30 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-28 13:30 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:30 [rpms/opencv] opencv5: Use -Wl,--as-needed until dependencies are better sorted out upstream Nicolas Chauvet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox