From 980ecfffe02b4d6e5620c6458d52dcf76dade0b94e1feb7d0379acb25a7a275d Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 14 Jan 2010 14:21:37 +0000 Subject: [PATCH] Accepting request 29122 from devel:libraries:c_c++ Copy from devel:libraries:c_c++/gmp based on submit request 29122 from user rguenther OBS-URL: https://build.opensuse.org/request/show/29122 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gmp?expand=0&rev=15 --- gmp-4.3.1.tar.bz2 | 3 --- gmp-4.3.2.tar.bz2 | 3 +++ gmp.changes | 23 +++++++++++++++++++++++ gmp.spec | 20 +++++++++++--------- 4 files changed, 37 insertions(+), 12 deletions(-) delete mode 100644 gmp-4.3.1.tar.bz2 create mode 100644 gmp-4.3.2.tar.bz2 diff --git a/gmp-4.3.1.tar.bz2 b/gmp-4.3.1.tar.bz2 deleted file mode 100644 index 3770908..0000000 --- a/gmp-4.3.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa0295472854f2f9691db7c6892921452521b4d5def15223136f4733309db7c8 -size 1881090 diff --git a/gmp-4.3.2.tar.bz2 b/gmp-4.3.2.tar.bz2 new file mode 100644 index 0000000..ef4ae24 --- /dev/null +++ b/gmp-4.3.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775 +size 1897483 diff --git a/gmp.changes b/gmp.changes index d0809ba..af923bf 100644 --- a/gmp.changes +++ b/gmp.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Jan 11 13:29:55 CET 2010 - rguenther@suse.de + +- Update to bugfix release GMP 4.3.2. + * Fixed bug in mpf_eq. + * Fixed overflow issues in mpz_set_str, mpz_inp_str, mpf_set_str, and + mpf_get_str. + * Avoid unbounded stack allocation for unbalanced multiplication. + * Fixed bug in FFT multiplication. + +------------------------------------------------------------------- +Fri Dec 11 13:16:43 CET 2009 - jengelh@medozas.de + +- add baselibs.conf to specfile as source + +------------------------------------------------------------------- +Mon Dec 7 19:34:01 CET 2009 - jengelh@medozas.de + +- Fix building on SPARC. When rpmbuild is called with + --target=sparcv9, %%_target_platform takes on the value + "sparcv9-suse-linux", but this does not fly for gmp, it requires + "sparc-suse-linux". This is similar to what binutils.spec does. + ------------------------------------------------------------------- Tue Nov 17 15:21:13 CET 2009 - rguenther@suse.de diff --git a/gmp.spec b/gmp.spec index e1f4e84..863a699 100644 --- a/gmp.spec +++ b/gmp.spec @@ -1,7 +1,7 @@ # -# spec file for package gmp (Version 4.3.1) +# spec file for package gmp (Version 4.3.2) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: gmp BuildRequires: gcc-c++ -License: GPL v3 or later ; LGPL v3 or later +License: GPLv3+ ; LGPLv3+ Group: System/Libraries AutoReqProv: on # bug437293 @@ -28,11 +28,12 @@ AutoReqProv: on Obsoletes: gmp-64bit %endif # -Version: 4.3.1 -Release: 2 +Version: 4.3.2 +Release: 1 Summary: The GNU MP Library Url: http://gmplib.org/ Source: gmp-%{version}.tar.bz2 +Source2: baselibs.conf Patch0: gmp-noexec.diff Patch2: gmp-s390x.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -47,7 +48,7 @@ Authors: Torbjorn Granlund %package -n libgmp3 -License: GPL v3 or later ; LGPL v3 or later +License: GPLv3+ ; LGPLv3+ Summary: Shared library for the GNU MP Library Group: System/Libraries # in openSUSE 11.1 and SLE11 the shared libraries were in the gmp package itself @@ -64,7 +65,7 @@ Authors: Torbjorn Granlund %package -n libgmpxx4 -License: GPL v3 or later ; LGPL v3 or later +License: GPLv3+ ; LGPLv3+ Summary: C++ bindings for the GNU MP Library Group: System/Libraries Requires: libgmp3 = %{version} @@ -79,7 +80,7 @@ Authors: Torbjorn Granlund %package devel -License: GPL v3 or later ; LGPL v3 or later +License: GPLv3+ ; LGPLv3+ Summary: Include Files and Libraries for Development with the GNU MP Library Group: Development/Languages/C and C++ Requires: libgmp3 = %{version} @@ -124,11 +125,12 @@ Authors: #%ifarch x86_64 x86 # --enable-fat \ #%endif +%define sanitized_platform %(echo %{_target_cpu} | sed -e "s/sparc64.*/sparc64/" -e "s/sparcv.*/sparc/")-%{_vendor}-%{_target_os} CFLAGS="$RPM_OPT_FLAGS -fexceptions" \ ./configure --prefix=/usr \ --libdir=%{_libdir} \ --infodir=%{_infodir} \ - --build=%{_target_platform} \ + --build=%{sanitized_platform} \ --disable-mpfr \ --enable-cxx make CFLAGS="$RPM_OPT_FLAGS -fexceptions" %{?jobs:-j%jobs}