- Remove broken packaged libgmp.a just containing LTO bytecode.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=80
This commit is contained in:
Richard Biener 2020-01-27 08:48:27 +00:00 committed by Git OBS Bridge
parent bdc1b892a8
commit c278869770
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 27 08:46:57 UTC 2020 - Richard Biener <rguenther@suse.com>
- Remove broken packaged libgmp.a just containing LTO bytecode.
-------------------------------------------------------------------
Sun Jan 19 21:19:41 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -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