Hello community,

here is the log from the commit of package mpfr for openSUSE:Factory checked in 
at 2012-02-16 17:21:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpfr (Old)
 and      /work/SRC/openSUSE:Factory/.mpfr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpfr", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpfr/mpfr.changes        2011-09-23 
02:13:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mpfr.new/mpfr.changes   2012-02-16 
17:21:51.000000000 +0100
@@ -1,0 +2,23 @@
+Mon Feb 13 10:50:39 UTC 2012 - [email protected]
+
+- patch license to follow spdx.org standard
+
+-------------------------------------------------------------------
+Sun Jan 29 20:34:08 UTC 2012 - [email protected]
+
+- Remove redundant tags/sections per specfile guideline suggestions
+
+-------------------------------------------------------------------
+Tue Oct 11 12:28:31 UTC 2011 - [email protected]
+
+- Update to version 3.1.0.
+  * The mpfr_urandom and mpfr_urandomb functions now return identical
+    values on processors with different word size.
+  * Speed improvement for the mpfr_sqr and mpfr_div functions using
+    Mulders' algorithm.
+  * Much faster formatted output (mpfr_printf, etc.) with %Rg and similar.
+  * New divide-by-zero exception (flag) and associated functions.
+- Remove bogus provides/obsoletes for old shared library version.
+- Fix license, it is LGPL v3 or later.
+
+-------------------------------------------------------------------

Old:
----
  mpfr-3.0.1.tar.bz2

New:
----
  mpfr-3.1.0-patch01.diff
  mpfr-3.1.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mpfr.spec ++++++
--- /var/tmp/diff_new_pack.N91y6m/_old  2012-02-16 17:21:52.000000000 +0100
+++ /var/tmp/diff_new_pack.N91y6m/_new  2012-02-16 17:21:52.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mpfr
 #
-# 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,22 +15,19 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-%define debug_package_requires libmpfr4 = %{version}-%{release}
 
 Name:           mpfr
 BuildRequires:  gmp-devel
-License:        LGPLv2.1+
-Group:          Development/Libraries/C and C++
-AutoReqProv:    on
-Version:        3.0.1
-Release:        1
+Version:        3.1.0
+Release:        0
 Summary:        The MPFR 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
@@ -44,22 +41,9 @@
 mantissa).
 
 
-
-Authors:
---------
-    Guillaume Hanrot
-    Paul Zimmermann
-    Vincent Lef�vre
-    Patrick P�lissier
-
 %package -n libmpfr4
-License:        LGPLv2.1+
 Summary:        MPFR multiple-precision floating-point computation shared 
library
 Group:          Development/Libraries/C and C++
-AutoReqProv:    on
-# in openSUSE 10.2 and 10.3 the shared library was in the mpfr package itself
-Provides:       mpfr = 2.3.0
-Obsoletes:      mpfr < 2.3.0
 
 %description -n libmpfr4
 The MPFR library is a C library for multiple-precision floating-point
@@ -67,45 +51,27 @@
 based on the GMP multiple-precision library.
 
 
-
-Authors:
---------
-    Guillaume Hanrot
-    Paul Zimmermann
-    Vincent Lef�vre
-    Patrick P�lissier
-
 %package devel
-License:        LGPLv2.1+
 Summary:        MPFR multiple-precision floating-point library development 
files
 Group:          Development/Libraries/C and C++
 Requires:       libmpfr4 = %{version} gmp-devel
-Provides:       gmp-devel:/usr/lib/libmpfr.a
-AutoReqProv:    on
 PreReq:         %install_info_prereq
 
 %description devel
 MPFR multiple-precision floating-point library development files
 
 
-
-Authors:
---------
-    Guillaume Hanrot
-    Paul Zimmermann
-    Vincent Lef�vre
-    Patrick P�lissier
-
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure \
-%if 0%{suse_version} > 1000
-%ifnarch %sparc hppa
+%ifarch %sparc hppa
+       --disable-thread-safe \
+%else
        --enable-thread-safe \
 %endif
-%endif
        --enable-shared \
        --docdir=%{_docdir}/mpfr
 make %{?_smp_mflags}
@@ -117,21 +83,16 @@
 %makeinstall
 rm ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
 
-%post -n libmpfr4
-%run_ldconfig
+%post -n libmpfr4 -p /sbin/ldconfig
 
 %post devel
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
-%postun -n libmpfr4
-%run_ldconfig
+%postun -n libmpfr4 -p /sbin/ldconfig
 
 %postun devel
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -n libmpfr4
 %defattr(-,root,root)
 %{_libdir}/libmpfr.so.4*

++++++ mpfr-3.1.0-patch01.diff ++++++
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";
 }
++++++ mpfr-3.0.1.tar.bz2 -> mpfr-3.1.0.tar.bz2 ++++++
++++ 176135 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to