From 15d502c83448bbb850d3102c4f6b5674c00f99b07cd98ba1b943683572779597 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 10 May 2021 13:38:42 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/digikam revision 194.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/digikam?expand=0&rev=a0a423de705188aea54851464d263542 --- digikam.changes | 5 +++++ digikam.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/digikam.changes b/digikam.changes index 5373ab9..cfd4a05 100644 --- a/digikam.changes +++ b/digikam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun May 9 10:55:26 UTC 2021 - Fabian Vogt + +- Require the version of libopencv_dnn it was built against (boo#1185700) + ------------------------------------------------------------------- Tue Mar 30 10:39:49 UTC 2021 - Wolfgang Bauer diff --git a/digikam.spec b/digikam.spec index 219385b..445b4a5 100644 --- a/digikam.spec +++ b/digikam.spec @@ -47,6 +47,7 @@ BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel +# This condition is also below in libdigikamcore %ifarch ppc64 # opencv-devel is currently not available on ppc64, but opencv3-devel is... (and the version is high enough) BuildRequires: opencv3-devel @@ -161,6 +162,12 @@ Additional program to browse and view photos %package -n libdigikamcore%{soversion} Summary: The main digikam libraries Group: Development/Libraries/KDE +%ifarch ppc64 +# DNN ABI is not stable and not using symbol versioning (boo#1185700) +%requires_eq %(rpm --qf %%{name} -qf %{_libdir}/libopencv_dnn.so.%{pkg_version opencv3-devel}) +%else +%requires_eq %(rpm --qf %%{name} -qf %{_libdir}/libopencv_dnn.so.%{pkg_version opencv-devel}) +%endif Recommends: %{name}-plugins %description -n libdigikamcore%{soversion}