From 1fc40dece8f9bf055569c27d64e964e50eff64eaa8080b87b8802ca5d7c878cf Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 12 Jan 2010 14:07:34 +0000 Subject: [PATCH] checked in OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=13 --- mpc-0.8-fixes.patch | 13 +++++++++++++ mpc-0.8.1.tar.bz2 | 3 --- mpc-0.8.tar.bz2 | 3 +++ mpc.changes | 9 --------- mpc.spec | 9 +++++++-- 5 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 mpc-0.8-fixes.patch delete mode 100644 mpc-0.8.1.tar.bz2 create mode 100644 mpc-0.8.tar.bz2 diff --git a/mpc-0.8-fixes.patch b/mpc-0.8-fixes.patch new file mode 100644 index 0000000..d6cf470 --- /dev/null +++ b/mpc-0.8-fixes.patch @@ -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 diff --git a/mpc-0.8.1.tar.bz2 b/mpc-0.8.1.tar.bz2 deleted file mode 100644 index 99c8165..0000000 --- a/mpc-0.8.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa90b0b544dca0bb5183769c8af960630d4c175bb9da2dd26523897832f9b8b1 -size 448800 diff --git a/mpc-0.8.tar.bz2 b/mpc-0.8.tar.bz2 new file mode 100644 index 0000000..0f93c47 --- /dev/null +++ b/mpc-0.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4917ad5325c9494d7522ce452ff4738da88a0fd4272c9c62fdd1b8457de0bae +size 447231 diff --git a/mpc.changes b/mpc.changes index bf1d1f5..18b9720 100644 --- a/mpc.changes +++ b/mpc.changes @@ -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 diff --git a/mpc.spec b/mpc.spec index 000bcfc..b4162d1 100644 --- a/mpc.spec +++ b/mpc.spec @@ -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. # @@ -24,11 +24,12 @@ BuildRequires: gmp-devel mpfr-devel License: LGPLv2.1+ Group: Development/Libraries/C and C++ AutoReqProv: on -Version: 0.8.1 +Version: 0.8 Release: 2 Summary: MPC multiple-precision complex shared library Url: http://www.multiprecision.org/mpc/ Source: mpc-%{version}.tar.bz2 +Patch0: mpc-0.8-fixes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -66,6 +67,10 @@ MPC multiple-precision complex library development files. %prep %setup -q +# Should really be a mpfr version check +%if %{suse_version} > 1120 +%patch0 -p1 +%endif %build %configure