SHA256
6
0
forked from pool/gmp

- Update to release GMP 5.0.3

* A slight timing leak of the powm_sec functions have been sealed.  (This
    leak could possibly be used to extract the most significant few bits of the
    exponent.  "Few" here means at most 10.)
  * The mpz_nextprime function now runs a safer number of pseudo-random prime
    tests.
  * A bug in division code possibly causing incorrect computation was fixed.
  * New CPUs recognised.
  * IBM S/390 are now supported in both 31/32-bit and 64-bit mode.
- Dropped SUSE local patches for S/390 support.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=22
This commit is contained in:
2012-01-30 09:16:08 +00:00
committed by Git OBS Bridge
parent 7ed2aeafd6
commit 55c6ba998a
5 changed files with 22 additions and 79 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package gmp
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@@ -15,27 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gmp
BuildRequires: gcc-c++
License: GPLv3+ ; LGPLv3+
Group: System/Libraries
AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: gmp-64bit
%endif
#
Version: 5.0.2
Release: 7
Version: 5.0.3
Release: 0
Summary: The GNU MP Library
License: GPL-3.0+ ; LGPL-3.0+
Group: System/Libraries
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
%description
@@ -43,7 +38,6 @@ A library for calculating huge numbers (integer and floating point).
%package -n libgmp10
License: GPLv3+ ; LGPLv3+
Summary: Shared library for the GNU MP Library
Group: System/Libraries
@@ -52,7 +46,6 @@ Shared library for the GNU MP Library.
%package -n libgmpxx4
License: GPLv3+ ; LGPLv3+
Summary: C++ bindings for the GNU MP Library
Group: System/Libraries
Requires: libgmp10 = %{version}
@@ -62,7 +55,6 @@ C++ bindings for the GNU MP Library.
%package -n libmp3
License: GPLv3+ ; LGPLv3+
Summary: BSD libmp bindings for the GNU MP Library
Group: System/Libraries
Requires: libgmp10 = %{version}
@@ -72,13 +64,11 @@ BSD libmp bindings for the GNU MP Library.
%package devel
License: GPLv3+ ; LGPLv3+
Summary: Include Files and Libraries for Development with the GNU MP Library
Group: Development/Languages/C and C++
Requires: libgmp10 = %{version}
Requires: libgmpxx4 = %{version}
Requires: libmp3 = %{version}
AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: gmp-devel-64bit
@@ -101,7 +91,6 @@ Authors:
%ifnarch %arm
%patch0
%endif
%patch2
%build
# export HOME=/tmp/