Rebuild for new boost

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-06-03 08:30:50 +02:00
parent c31197f7bc
commit c8830652ab

View File

@ -1,7 +1,7 @@
Name: dolfin
Version: 2019.1.0.post0
%global fenics_version 2019.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: FEniCS computational backend and problem solving environment
License: LGPLv3+
@ -80,6 +80,15 @@ cat >>python/CMakeLists.txt <<EOF
set(CMAKE_CXX_FLAGS "\${CMAKE_CXX_FLAGS} -I$PWD")
EOF
# https://bugzilla.redhat.com/show_bug.cgi?id=1843103
sed -r -i 's/#include </#include <algorithm>\n\0/' \
dolfin/geometry/IntersectionConstruction.cpp \
dolfin/mesh/MeshFunction.h
sed -r -i 's|boost/detail/endian.hpp|boost/endian/arithmetic.hpp|' \
dolfin/io/VTKFile.cpp \
dolfin/io/VTKWriter.cpp
%build
# %%_mpich_load
mkdir -p build && cd build
@ -146,6 +155,9 @@ ctest -V %{?_smp_mflags}
%{python3_sitearch}/fenics_dolfin-%{fenics_version}*-py%{python3_version}.egg-info/
%changelog
* Wed Jun 3 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2019.1.0.post0-4
- Rebuilt for new boost (#1843103)
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2019.1.0.post0-3
- Rebuilt for Python 3.9