diff --git a/gmp.changes b/gmp.changes index 44b2e25..80125b4 100644 --- a/gmp.changes +++ b/gmp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 27 08:46:57 UTC 2020 - Richard Biener + +- Remove broken packaged libgmp.a just containing LTO bytecode. + ------------------------------------------------------------------- Sun Jan 19 21:19:41 UTC 2020 - Andreas Stieger diff --git a/gmp.spec b/gmp.spec index eeed2a2..be18b32 100644 --- a/gmp.spec +++ b/gmp.spec @@ -1,7 +1,7 @@ # # spec file for package gmp # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -74,6 +74,7 @@ huge numbers (integer and floating point). %build export CFLAGS="%{optflags} -fexceptions" %configure \ + --disable-static \ --enable-cxx \ --enable-fat make %{?_smp_mflags} @@ -86,7 +87,6 @@ make %{?_smp_mflags} check %make_install rm %{buildroot}%{_libdir}/libgmp.la rm %{buildroot}%{_libdir}/libgmpxx.la -rm %{buildroot}%{_libdir}/libgmpxx.a %post -n libgmp10 -p /sbin/ldconfig %post -n libgmpxx4 -p /sbin/ldconfig @@ -109,7 +109,6 @@ rm %{buildroot}%{_libdir}/libgmpxx.a %doc AUTHORS README NEWS %doc demos %{_infodir}/gmp.info*%{ext_info} -%{_libdir}/libgmp.a %{_libdir}/libgmp.so %{_libdir}/libgmpxx.so %{_includedir}/gmp.h