]> git.pld-linux.org Git - packages/mpfr.git/commitdiff
- updated to 3.1.0 auto/th/mpfr-3_1_0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 12 Oct 2011 17:29:31 +0000 (17:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- force ld.bfd as it triggers internal error in gold (related to TLS support)

Changed files:
    mpfr-info.patch -> 1.3
    mpfr.spec -> 1.20

mpfr-info.patch
mpfr.spec

index 95d50a40339c57e31c0089cc3d95ceb7c04898ee..abed15bf189501579d9f11028176a90ebdf6b185 100644 (file)
@@ -1,5 +1,5 @@
---- mpfr-2.2.0/mpfr.texi.orig  2005-09-16 12:55:55.000000000 +0200
-+++ mpfr-2.2.0/mpfr.texi       2006-04-23 20:49:04.601985250 +0200
+--- mpfr-3.1.0/doc/mpfr.texi.orig      2005-09-16 12:55:55.000000000 +0200
++++ mpfr-3.1.0/doc/mpfr.texi   2006-04-23 20:49:04.601985250 +0200
 @@ -38,9 +38,9 @@
  @c  UPDATED-MONTH.
  
index df32f38310c35a1e74113203e533a46092071535..77910975a37e86e597270e831d9a1b595e0caa47 100644 (file)
--- a/mpfr.spec
+++ b/mpfr.spec
@@ -5,12 +5,12 @@
 Summary:       Multiple-precision floating-point computations library
 Summary(pl.UTF-8):     Biblioteka obliczeĹ„ zmiennoprzecinkowych wielokrotnej precyzji
 Name:          mpfr
-Version:       3.0.1
+Version:       3.1.0
 Release:       1
 License:       LGPL v3+
 Group:         Libraries
 Source0:       http://www.mpfr.org/mpfr-current/%{name}-%{version}.tar.xz
-# Source0-md5: 645882d9d179113a70af84d27086ed9f
+# Source0-md5: 6e495841bb026481567006cec0f821c3
 Patch0:                %{name}-info.patch
 URL:           http://www.mpfr.org/
 BuildRequires: autoconf >= 2.50
@@ -20,6 +20,7 @@ BuildRequires:        libtool
 BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo
 BuildRequires: xz
+Requires:      gmp >= 4.1.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -71,7 +72,14 @@ Statyczna biblioteka MPFR.
 %setup -q
 %patch0 -p1
 
+# triggers bug in gold (as of binutils-2.21.53.0.2-1.i686)
+mkdir my-ld
+if [ -x /usr/bin/ld.bfd ]; then
+       ln -s /usr/bin/ld.bfd my-ld/ld
+fi
+
 %build
+export PATH=$PWD/my-ld:$PATH
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
@@ -108,7 +116,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS BUGS ChangeLog FAQ.html NEWS README TODO
+%doc AUTHORS BUGS ChangeLog NEWS README TODO doc/FAQ.html
 %attr(755,root,root) %{_libdir}/libmpfr.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libmpfr.so.4
 
This page took 0.055932 seconds and 4 git commands to generate.