From 4a9e7c53d8128b02bd0c6409563b8d79bf2ec1adee7a444e1e24c51c16716d10 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 1 Dec 2009 13:29:23 +0000 Subject: [PATCH] - Fix erroneous test data. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=9 --- mpc-0.7.tar.bz2 | 3 --- mpc-0.8-fixes.patch | 13 +++++++++++++ mpc-0.8.tar.bz2 | 3 +++ mpc.changes | 17 ++++++++++++++++- mpc.spec | 6 ++++-- 5 files changed, 36 insertions(+), 6 deletions(-) delete mode 100644 mpc-0.7.tar.bz2 create mode 100644 mpc-0.8-fixes.patch create mode 100644 mpc-0.8.tar.bz2 diff --git a/mpc-0.7.tar.bz2 b/mpc-0.7.tar.bz2 deleted file mode 100644 index 4338dee..0000000 --- a/mpc-0.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10a3eabfba548edfc43d6ad35e3e0a00bfa934ffccf62c9a8435a9a0aa01d97f -size 444045 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.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 6c96b0b..18b9720 100644 --- a/mpc.changes +++ b/mpc.changes @@ -1,7 +1,22 @@ +------------------------------------------------------------------- +Tue Dec 1 14:28:22 CET 2009 - rguenther@suse.de + +- Fix erroneous test data. + +------------------------------------------------------------------- +Thu Nov 5 16:59:22 CET 2009 - rguenther@suse.de + +- Update to version 0.8 as required by GCC 4.5. + * C99 feature completion: + - Inverse trigonometric functions: mpc_asin, mpc_acos, mpc_atan, + mpc_asinh, mpc_acosh, mpc_atanh + - Power functions: mpc_pow_d, mpc_pow_ld, mpc_pow_si, mpc_pow_ui, + mpc_pow_z, mpc_pow_fr + ------------------------------------------------------------------- Fri Sep 11 12:18:44 CEST 2009 - rguenther@suse.de -- Update to version 0.7. +- Update to version 0.7. [fate#306970] * Bumps SONAME to libmpc.so.2. ------------------------------------------------------------------- diff --git a/mpc.spec b/mpc.spec index 9def7fa..49ab382 100644 --- a/mpc.spec +++ b/mpc.spec @@ -1,5 +1,5 @@ # -# spec file for package mpc (Version 0.7) +# 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: LGPL v2.1 or later Group: Development/Libraries/C and C++ AutoReqProv: on -Version: 0.7 +Version: 0.8 Release: 1 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,7 @@ MPC multiple-precision complex library development files. %prep %setup -q +%patch0 -p1 %build %configure