diff --git a/libvpx.spec b/libvpx.spec index a8d90e6..4510fc5 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -6,7 +6,7 @@ Name: libvpx Summary: VP8/VP9 Video Codec SDK Version: 1.8.2 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD #Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2 Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz @@ -49,6 +49,12 @@ and decoder. %patch0 -p1 -b .leave-fs-on %build +# This package fails to build with LTO due to undefined symbols. LTO +# was disabled in OpenSuSE as well, but with no real explanation why +# beyond the undefined symbols. It really shold be investigated further. +# Disable LTO +%define _lto_cflags %{nil} + %ifarch %{ix86} %global vpxtarget x86-linux-gcc %else @@ -231,6 +237,9 @@ rm -rf %{buildroot}%{_prefix}/src %{_bindir}/* %changelog +* Wed Jul 01 2020 Jeff Law - 1.8.2-3 +- Disable LTO + * Wed Jan 29 2020 Fedora Release Engineering - 1.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild