SHA256
3
0
forked from pool/mpc
OBS User autobuild 2010-01-12 14:07:34 +00:00 committed by Git OBS Bridge
parent bf0392786f
commit 1fc40dece8
5 changed files with 23 additions and 14 deletions

13
mpc-0.8-fixes.patch Normal file
View File

@ -0,0 +1,13 @@
Index: trunk/tests/log.dat
===================================================================
--- trunk/tests/log.dat (revision 726)
+++ trunk/tests/log.dat (revision 727)
@@ -30,7 +30,7 @@
0 - 2 -inf 53 +0x3243F6A8885A3p-48 2 -0 2 +0 N N
0 + 2 -inf 53 -0x3243F6A8885A3p-48 2 -0 2 -0 N N
0 - 2 -inf 53 +0x3243F6A8885A3p-48 2 -0 2 +0 N D
-0 + 2 -inf 53 -0x3243F6A8885A32p-52 2 -0 2 -0 N D
+0 - 2 -inf 53 -0x3243F6A8885A32p-52 2 -0 2 -0 N D
# log(+0 + i*0) = -inf + i*0
0 0 2 -inf 2 +0 2 +0 2 +0 N N

View File

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

3
mpc-0.8.tar.bz2 Normal file
View File

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

View File

@ -1,12 +1,3 @@
-------------------------------------------------------------------
Mon Jan 11 13:46:57 CET 2010 - rguenther@suse.de
- Update to bugfix release 0.8.1.
Fixes
* acosh, asinh, atanh: swap of precisions between real and imaginary parts
* atan: memory leak
* log: wrong ternary value in data file; masked by bug in mpfr 2.4.1
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 1 14:28:22 CET 2009 - rguenther@suse.de Tue Dec 1 14:28:22 CET 2009 - rguenther@suse.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package mpc (Version 0.8.1) # spec file for package mpc (Version 0.8)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -24,11 +24,12 @@ BuildRequires: gmp-devel mpfr-devel
License: LGPLv2.1+ License: LGPLv2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
AutoReqProv: on AutoReqProv: on
Version: 0.8.1 Version: 0.8
Release: 2 Release: 2
Summary: MPC multiple-precision complex shared library Summary: MPC multiple-precision complex shared library
Url: http://www.multiprecision.org/mpc/ Url: http://www.multiprecision.org/mpc/
Source: mpc-%{version}.tar.bz2 Source: mpc-%{version}.tar.bz2
Patch0: mpc-0.8-fixes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -66,6 +67,10 @@ MPC multiple-precision complex library development files.
%prep %prep
%setup -q %setup -q
# Should really be a mpfr version check
%if %{suse_version} > 1120
%patch0 -p1
%endif
%build %build
%configure %configure