[freefem++] rebuild against new blacs lib

Tom Callaway spot at fedoraproject.org
Mon May 12 18:41:52 UTC 2014


commit d616cb1643d37eac0fcc7238748a0a126d13c656
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon May 12 14:41:37 2014 -0400

    rebuild against new blacs lib

 freefem++.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/freefem++.spec b/freefem++.spec
index 44adf58..6b1f72a 100644
--- a/freefem++.spec
+++ b/freefem++.spec
@@ -4,7 +4,7 @@
 Summary: PDE solving tool
 Name: freefem++
 Version: 3.29
-Release: 1%{dotpl}%{?dist}
+Release: 2%{dotpl}%{?dist}
 URL: http://www.freefem.org/ff++/index.htm
 Source0: http://www.freefem.org/ff++/ftp/%{name}-%{version}%{dashpl}.tar.gz
 Source1: FreeFem++.1
@@ -101,6 +101,10 @@ mv %{name}-%{version}%{dashpl} serial
 pushd serial
 %patch0 -p1 -b .r
 %patch5 -p1 -b .compile
+%if 0%{?fedora} >= 21
+sed -i 's|-lmpiblacsCinit -lmpiblacsF77init||g' configure
+%endif
+
 find . -type f -perm 755 \( -name "*.c*" -o -name "*.h*" -o -name "*.edp" -o -name "*.idp" \) | xargs chmod 644
 for file in AUTHORS ChangeLog COPYRIGHT COPYING HISTORY ; do
 	iconv -f iso8859-1 -t utf8 -o $file.utf8 $file && \
@@ -237,6 +241,9 @@ popd
 %{_libdir}/mpich/lib/ff++
 
 %changelog
+* Mon May 12 2014 Tom Callaway <spot at fedoraproject.org> 3.29-2
+- compile against new blacs
+
 * Mon Mar 10 2014 Dominik Mierzejewski <rpm at greysector.net> 3.29-1
 - update to 3.29
 - reduce redundant spec code


More information about the scm-commits mailing list