The package rpms/opencv.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/opencv.git/commit/?id=d8ec2071a83....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit d8ec2071a838c32af2c702d8d2c194aaad3499f7
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Aug 2 01:30:04 2020 +0100
Disable LTO on ppc64le, add undefine __cmake_in_source_build to allow build on Fedora
< 33
diff --git a/opencv.spec b/opencv.spec
index 3e1f989..e2090f5 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -1,5 +1,6 @@
#global indice a
%undefine _strict_symbol_defs_build
+%undefine __cmake_in_source_build
%bcond_without tests
%bcond_with ffmpeg
%bcond_without gstreamer
@@ -43,6 +44,10 @@
%bcond_without java
%bcond_without vulkan
+%ifarch ppc64le
+%define _lto_cflags %{nil}
+%endif
+
%global srcname opencv
%global abiver 4.3
@@ -478,6 +483,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar
%{buildroot}%{_jnidir}/ope
%changelog
* Fri Jul 24 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 4.3.0-8
- Rebuilt
+- Fix cmake build
+- Disable LTO on ppc64le
+- Add undefine __cmake_in_source_build to allow build on Fedora < 33
* Sat Jul 11 2020 Jiri Vanek <jvanek(a)redhat.com> - 4.3.0-7
- Rebuilt for JDK-11, see
https://fedoraproject.org/wiki/Changes/Java11