- Update to release GMP 5.0.1.

* Major performance and memory usage improvements.
  * Enable fat binaries on x86.
  * Bump SO version to 10.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=11
This commit is contained in:
Richard Biener 2010-09-06 13:57:19 +00:00 committed by Git OBS Bridge
parent fe21aebccf
commit 69a118fd95
6 changed files with 33 additions and 39 deletions

View File

@ -1,9 +1,9 @@
targettype x86 package libgmp3
obsoletes "gmp-<targettype>"
libgmp3
libgmp10
obsoletes "gmp-<targettype>"
libgmpxx4
gmp-devel
requires -gmp-<targettype>
requires "libgmp3-<targettype> = <version>"
requires "libgmp10-<targettype> = <version>"
requires "libgmpxx4-<targettype> = <version>"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775
size 1897483

3
gmp-5.0.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2a610f01fd3298dc08c87bf30498c2402590e1bcb227fc40b15ee6d280939fb
size 2006109

View File

@ -1,8 +1,8 @@
Index: configure.in
===================================================================
--- configure.in.orig 2009-04-14 14:36:29.000000000 +0200
+++ configure.in 2009-04-15 11:29:33.000000000 +0200
@@ -1066,6 +1066,9 @@ case $host in
--- configure.in.orig 2010-02-06 13:43:13.000000000 +0100
+++ configure.in 2010-09-06 15:46:08.000000000 +0200
@@ -1095,6 +1095,9 @@ case $host in
;;
@ -12,24 +12,10 @@ Index: configure.in
# IBM s/370 and similar
[s3[6-9]0*-*-*])
gcc_cflags="$gcc_cflags $fomit_frame_pointer"
Index: mpn/s390/gmp-mparam.h
===================================================================
--- mpn/s390/gmp-mparam.h.orig 2009-04-14 14:36:31.000000000 +0200
+++ mpn/s390/gmp-mparam.h 2009-04-15 11:29:33.000000000 +0200
@@ -18,7 +18,8 @@ You should have received a copy of the G
along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
-/* BITS_PER_MP_LIMB etc generated by configure */
+#define BITS_PER_MP_LIMB 32
+#define BYTES_PER_MP_LIMB 4
/* Generated by tuneup.c, 2001-12-03, gcc 2.95 */
Index: mpn/s390x/gmp-mparam.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ mpn/s390x/gmp-mparam.h 2009-04-15 11:29:33.000000000 +0200
+++ mpn/s390x/gmp-mparam.h 2010-09-06 15:48:08.000000000 +0200
@@ -0,0 +1,27 @@
+/* gmp-mparam.h -- Compiler/machine parameter header file.
+
@ -52,7 +38,7 @@ Index: mpn/s390x/gmp-mparam.h
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA. */
+
+#define BITS_PER_MP_LIMB 64
+#define GMP_LIMB_BITS 64
+#define BYTES_PER_MP_LIMB 8
+#define BITS_PER_LONGINT 64
+#define BITS_PER_INT 32
@ -60,9 +46,9 @@ Index: mpn/s390x/gmp-mparam.h
+#define BITS_PER_CHAR 8
Index: configure
===================================================================
--- configure.orig 2009-04-14 14:36:53.000000000 +0200
+++ configure 2009-04-15 11:29:43.000000000 +0200
@@ -3201,6 +3201,9 @@ _ACEOF
--- configure.orig 2010-02-06 13:43:19.000000000 +0100
+++ configure 2010-09-06 15:46:08.000000000 +0200
@@ -4833,6 +4833,9 @@ echo "include_mpn(\`mips32/mips-defs.m4'
;;
@ -72,4 +58,3 @@ Index: configure
# IBM s/370 and similar
s3[6-9]0*-*-*)
gcc_cflags="$gcc_cflags $fomit_frame_pointer"

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Sep 6 13:27:34 UTC 2010 - rguenther@novell.com
- Update to release GMP 5.0.1.
* Major performance and memory usage improvements.
* Enable fat binaries on x86.
* Bump SO version to 10.
-------------------------------------------------------------------
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
#
# spec file for package gmp (Version 4.3.2)
# spec file for package gmp (Version 5.0.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -28,7 +28,7 @@ AutoReqProv: on
Obsoletes: gmp-64bit
%endif
#
Version: 4.3.2
Version: 5.0.1
Release: 6
Summary: The GNU MP Library
Url: http://gmplib.org/
@ -47,7 +47,7 @@ Authors:
--------
Torbjorn Granlund <tege@zevs.sics.se>
%package -n libgmp3
%package -n libgmp10
License: GPLv3+ ; LGPLv3+
Summary: Shared library for the GNU MP Library
Group: System/Libraries
@ -55,7 +55,7 @@ Group: System/Libraries
Provides: gmp = 4.2.3
Obsoletes: gmp <= 4.2.3
%description -n libgmp3
%description -n libgmp10
Shared library for the GNU MP Library.
@ -68,7 +68,7 @@ Authors:
License: GPLv3+ ; LGPLv3+
Summary: C++ bindings for the GNU MP Library
Group: System/Libraries
Requires: libgmp3 = %{version}
Requires: libgmp10 = %{version}
%description -n libgmpxx4
C++ bindings for the GNU MP Library.
@ -83,7 +83,7 @@ Authors:
License: GPLv3+ ; LGPLv3+
Summary: Include Files and Libraries for Development with the GNU MP Library
Group: Development/Languages/C and C++
Requires: libgmp3 = %{version}
Requires: libgmp10 = %{version}
Requires: libgmpxx4 = %{version}
AutoReqProv: on
# bug437293
@ -132,7 +132,8 @@ CFLAGS="$RPM_OPT_FLAGS -fexceptions" \
--infodir=%{_infodir} \
--build=%{sanitized_platform} \
--disable-mpfr \
--enable-cxx
--enable-cxx \
--enable-fat
make CFLAGS="$RPM_OPT_FLAGS -fexceptions" %{?_smp_mflags}
%check
@ -145,14 +146,14 @@ rm $RPM_BUILD_ROOT%{_libdir}/libgmp.la
rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.la
rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.a
%post -n libgmp3 -p /sbin/ldconfig
%post -n libgmp10 -p /sbin/ldconfig
%post -n libgmpxx4 -p /sbin/ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun -n libgmp3 -p /sbin/ldconfig
%postun -n libgmp10 -p /sbin/ldconfig
%postun -n libgmpxx4 -p /sbin/ldconfig
@ -162,9 +163,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.a
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libgmp3
%files -n libgmp10
%defattr(-,root,root)
%{_libdir}/libgmp.so.3*
%{_libdir}/libgmp.so.10*
%files -n libgmpxx4
%defattr(-,root,root)