SHA256
1
0
forked from pool/gmp

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
This commit is contained in:
OBS User autobuild 2010-01-14 14:21:37 +00:00 committed by Git OBS Bridge
parent 807ffdc050
commit 980ecfffe0
4 changed files with 37 additions and 12 deletions

View File

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

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

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

View File

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

View File

@ -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 <tege@zevs.sics.se>
%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 <tege@zevs.sics.se>
%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 <tege@zevs.sics.se>
%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}