diff --git a/libcaca.spec b/libcaca.spec index 2d0d732..d70cc0f 100644 --- a/libcaca.spec +++ b/libcaca.spec @@ -6,7 +6,7 @@ Summary: Library for Colour AsCii Art, text mode graphics Name: libcaca Version: 0.99 -Release: 0.48.%{beta}%{?dist} +Release: 0.49.%{beta}%{?dist} License: WTFPL URL: http://caca.zoy.org/wiki/libcaca Source: http://caca.zoy.org/files/libcaca/libcaca-%{version}.%{beta}.tar.gz @@ -97,6 +97,13 @@ for file in python/examples/*.py; do done %build +# This package has a configure test which uses ASMs, but does not link the +# resultant .o files. As such the ASM test is always successful, even on +# architectures were the ASM is not valid. The test should be fixed, +# or alternately we could consider using -ffat-lto-objects, though we +# generally recommend against that. For now, disable LTO. +%define _lto_cflags %{nil} + export LDFLAGS="$(pkg-config --libs gio-2.0) $LDFLAGS" sed -i -e 's|Config::CONFIG\["sitearchdir"\]|Config::CONFIG["vendorarchdir"]|' \ @@ -169,6 +176,9 @@ rm -f %{buildroot}%{_docdir}/libcucul-dev %changelog +* Tue Jul 13 2020 Jeff Law - 0.99-0.49.beta19 +- Disable LTO + * Tue May 26 2020 Miro HronĨok - 0.99-0.48.beta19 - Rebuilt for Python 3.9