diff -ruN rpmbuild-orig/SOURCES/boost-1.41.0-long-double.patch rpmbuild/SOURCES/boost-1.41.0-long-double.patch
--- rpmbuild-orig/SOURCES/boost-1.41.0-long-double.patch	1970-01-01 01:00:00.000000000 +0100
+++ rpmbuild/SOURCES/boost-1.41.0-long-double.patch	2015-08-26 00:06:26.396770192 +0200
@@ -0,0 +1,12 @@
+diff -ruN boost-1.41.0.cmake0.orig/boost/math/tools/config.hpp boost-1.41.0.cmake0/boost/math/tools/config.hpp
+--- boost-1.41.0.cmake0.orig/boost/math/tools/config.hpp	2009-11-18 17:44:37.000000000 +0100
++++ boost-1.41.0.cmake0/boost/math/tools/config.hpp	2014-11-28 23:17:00.446066721 +0100
+@@ -24,7 +24,7 @@
+ #include <boost/math/special_functions/detail/round_fwd.hpp>
+ 
+ #if defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \
+-   || defined(__hppa) || defined(__NO_LONG_DOUBLE_MATH)
++   || defined(__hppa)
+ #  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+ #endif
+ #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
diff -ruN rpmbuild-orig/SPECS/boost.spec rpmbuild/SPECS/boost.spec
--- rpmbuild-orig/SPECS/boost.spec	2015-02-05 14:45:18.000000000 +0100
+++ rpmbuild/SPECS/boost.spec	2015-08-26 00:08:09.326604122 +0200
@@ -18,7 +18,7 @@
   %bcond_without mpich
 %endif
 
-%ifarch s390 s390x
+%ifarch s390 s390x %{arm}
   # No OpenMPI support on zseries
   %bcond_with openmpi
 %else
@@ -28,7 +28,7 @@
 Name: boost
 Summary: The free peer-reviewed portable C++ source libraries
 Version: 1.41.0
-Release: 27%{?dist}
+Release: 27%{?dist}.0
 License: Boost
 URL: http://sodium.resophonic.com/boost-cmake/%{version}.cmake0/
 Group: System Environment/Libraries
@@ -130,6 +130,9 @@
 # https://bugzilla.redhat.com/show_bug.cgi?id=1170010
 Patch21: boost-1.41.0-weak_ptr-copy.patch
 
+# patch to support long doubles on arm
+Patch1000: boost-1.41.0-long-double.patch
+
 %bcond_with tests
 %bcond_with docs_generated
 
@@ -454,6 +457,7 @@
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch1000 -p1
 
 %build
 # Support for building tests.
@@ -830,6 +834,10 @@
 %endif
 
 %changelog
+* Tue Aug 25 2015 Jacco Ligthart <jacco@redsleeve.org> - 1.41.0-27.0
+- Add ARM to list of arches without openmpi
+- Add boost-1.41.0-long-double.patch (see #783660)
+
 * Wed Feb  4 2015 Petr Machata <pmachata@redhat.com> - 1.41.0-27
 - Fix the way MPI_VERSION is compared with (>=2 rather than ==2) so
   that an arg-less boost::mpi::environment ctor is exposed for MPI
