From 8332955846ff0d567d346b23248561b37eb855f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Tue, 10 May 2016 00:32:54 +0100 Subject: [PATCH] Don't clean unneeded symbols (as recommended by fedora-review) fix undefined symbol: cvLoadImage in Unknown on line 0 on php-facedetect package. --- opencv.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/opencv.spec b/opencv.spec index c4cd333..68acfdb 100644 --- a/opencv.spec +++ b/opencv.spec @@ -1,4 +1,3 @@ -%global optflags %(echo %{optflags} -Wl,--as-needed ) #global indice a %bcond_with ffmpeg %bcond_without gstreamer @@ -12,7 +11,7 @@ Name: opencv Version: 3.1.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Collection of algorithms for computer vision Group: Development/Libraries # This is normal three clause BSD. @@ -355,9 +354,13 @@ popd %{_libdir}/libopencv_xphoto.so.3.1* %changelog +* Mon May 09 2016 Sérgio Basto - 3.1.0-5 +- Don't clean unneeded symbols (as recommended by fedora-review), fix undefined + symbol: cvLoadImage in Unknown on line 0 on php-facedetect package. + * Sat May 07 2016 Sérgio Basto - 3.1.0-4 - Put all idefs and ifarchs outside the scope of rpm conditional builds, rather -than vice versa, as had organized some time ago, it seems to me more correct. + than vice versa, as had organized some time ago, it seems to me more correct. - Remove SIFT/SURF from source tarball in opencv_contrib, due to legal concerns - Redo and readd OpenCV-2.4.4-pillow.patch . - Add OpenCV-3.1-pillow.patch to apply only opencv_contrib .