diff --git a/mpfr-3.1.0-patch01.diff b/mpfr-3.1.0-patch01.diff deleted file mode 100644 index f61aff5..0000000 --- a/mpfr-3.1.0-patch01.diff +++ /dev/null @@ -1,50 +0,0 @@ -diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES ---- mpfr-3.1.0-a/PATCHES 2011-10-05 21:39:57.000000000 +0000 -+++ mpfr-3.1.0-b/PATCHES 2011-10-05 21:39:57.000000000 +0000 -@@ -0,0 +1 @@ -+mpfr_unlikely -diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION ---- mpfr-3.1.0-a/VERSION 2011-10-03 08:17:15.000000000 +0000 -+++ mpfr-3.1.0-b/VERSION 2011-10-05 21:39:57.000000000 +0000 -@@ -1 +1 @@ --3.1.0 -+3.1.0-p1 -diff -Naurd mpfr-3.1.0-a/src/mpfr-impl.h mpfr-3.1.0-b/src/mpfr-impl.h ---- mpfr-3.1.0-a/src/mpfr-impl.h 2011-10-03 08:17:09.000000000 +0000 -+++ mpfr-3.1.0-b/src/mpfr-impl.h 2011-10-05 21:39:57.000000000 +0000 -@@ -988,10 +988,11 @@ - ******************************************************/ - - /* Theses macros help the compiler to determine if a test is -- * likely or unlikely. */ -+ likely or unlikely. The !! is necessary in case x is larger -+ than a long. */ - #if __MPFR_GNUC(3,0) || __MPFR_ICC(8,1,0) - # define MPFR_LIKELY(x) (__builtin_expect(!!(x),1)) --# define MPFR_UNLIKELY(x) (__builtin_expect((x),0)) -+# define MPFR_UNLIKELY(x) (__builtin_expect(!!(x),0)) - #else - # define MPFR_LIKELY(x) (x) - # define MPFR_UNLIKELY(x) (x) -diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h ---- mpfr-3.1.0-a/src/mpfr.h 2011-10-03 08:17:09.000000000 +0000 -+++ mpfr-3.1.0-b/src/mpfr.h 2011-10-05 21:39:57.000000000 +0000 -@@ -27,7 +27,7 @@ - #define MPFR_VERSION_MAJOR 3 - #define MPFR_VERSION_MINOR 1 - #define MPFR_VERSION_PATCHLEVEL 0 --#define MPFR_VERSION_STRING "3.1.0" -+#define MPFR_VERSION_STRING "3.1.0-p1" - - /* Macros dealing with MPFR VERSION */ - #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c)) -diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c ---- mpfr-3.1.0-a/src/version.c 2011-10-03 08:17:09.000000000 +0000 -+++ mpfr-3.1.0-b/src/version.c 2011-10-05 21:39:57.000000000 +0000 -@@ -25,5 +25,5 @@ - const char * - mpfr_get_version (void) - { -- return "3.1.0"; -+ return "3.1.0-p1"; - } diff --git a/mpfr-3.1.0.tar.bz2 b/mpfr-3.1.0.tar.bz2 deleted file mode 100644 index c399b07..0000000 --- a/mpfr-3.1.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74a7bbbad168dd1cc414f1c9210b8fc16ccfc8e422d34b3371a8978e31eab680 -size 1203891 diff --git a/mpfr-3.1.1.tar.bz2 b/mpfr-3.1.1.tar.bz2 new file mode 100644 index 0000000..2767d44 --- /dev/null +++ b/mpfr-3.1.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b66c3f13dc8385f08264c805853f3e1a8eedab8071d582f3e661971c9acd5fd +size 1218825 diff --git a/mpfr.changes b/mpfr.changes index a23e41c..29866c3 100644 --- a/mpfr.changes +++ b/mpfr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 4 08:29:16 UTC 2012 - rguenther@suse.com + +- Update to version 3.1.1. + * Bug fixes + ------------------------------------------------------------------- Mon Feb 13 10:50:39 UTC 2012 - coolo@suse.com diff --git a/mpfr.spec b/mpfr.spec index 96d40a1..6c771d5 100644 --- a/mpfr.spec +++ b/mpfr.spec @@ -18,16 +18,15 @@ Name: mpfr BuildRequires: gmp-devel -Version: 3.1.0 +Version: 3.1.1 Release: 0 -Summary: The MPFR multiple-precision floating-point library +Summary: The GNU multiple-precision floating-point library License: LGPL-3.0+ Group: Development/Libraries/C and C++ Url: http://www.mpfr.org/ Source: mpfr-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch1: %{name}-%{version}-patch01.diff %description The MPFR library is a C library for multiple-precision floating-point @@ -42,7 +41,7 @@ mantissa). %package -n libmpfr4 -Summary: MPFR multiple-precision floating-point computation shared library +Summary: The GNU multiple-precision floating-point shared library Group: Development/Libraries/C and C++ %description -n libmpfr4 @@ -52,18 +51,22 @@ based on the GMP multiple-precision library. %package devel -Summary: MPFR multiple-precision floating-point library development files +Summary: Development files for the GNU multiple-precision floating-point library Group: Development/Libraries/C and C++ -Requires: libmpfr4 = %{version} gmp-devel +Requires: gmp-devel +Requires: libmpfr4 = %{version} PreReq: %install_info_prereq %description devel -MPFR multiple-precision floating-point library development files +Development files for the GNU multiple-precision floating-point library. + +The MPFR library is a C library for multiple-precision floating-point +computations with exact rounding (also called correct rounding). It is +based on the GMP multiple-precision library. %prep %setup -q -%patch1 -p1 %build %configure \