diff --git a/opencv.spec b/opencv.spec index a4e5306..3a746ff 100644 --- a/opencv.spec +++ b/opencv.spec @@ -43,6 +43,11 @@ %bcond_without java %bcond_without vulkan +# LTO breaks things +%ifarch ppc64le +%define _lto_cflags %{nil} +%endif + %global srcname opencv %global abiver 4.3 @@ -55,7 +60,7 @@ Name: opencv Version: 4.3.0 %global javaver %(foo=%{version}; echo ${foo//./}) -Release: 9%{?dist} +Release: 10%{?dist} Summary: Collection of algorithms for computer vision # This is normal three clause BSD. License: BSD @@ -483,6 +488,9 @@ popd %{_libdir}/libopencv_xphoto.so.%{abiver}* %changelog +* Sat Aug 01 2020 Michael J Gruber - 4.3.0-10 +- turn off LTO for ppc64le to fix FTBFS + * Fri Jul 31 2020 Michael J Gruber - 4.3.0-9 - adjust to new cmake macros