diff --git a/petsc.spec b/petsc.spec index cb48cd7..5aa7f5b 100644 --- a/petsc.spec +++ b/petsc.spec @@ -129,7 +129,7 @@ Name: petsc Summary: Portable Extensible Toolkit for Scientific Computation Version: %{releasever}.1 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD URL: https://www.mcs.anl.gov/petsc Source0: http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz @@ -1029,8 +1029,12 @@ make -C buildmpich_dir test %{_libdir}/openmpi/lib/libpetsc.so %{_libdir}/openmpi/lib/%{name}-%{version}/ %{_includedir}/openmpi-%{_arch}/%{name}/ +%if 0%{?rhel} +%{_fmoddir}/openmpi-%{_arch}/%{name}/ +%else %{_fmoddir}/openmpi/%{name}/ %endif +%endif %if %{with mpich} %files mpich @@ -1041,10 +1045,17 @@ make -C buildmpich_dir test %{_libdir}/mpich/lib/libpetsc.so %{_libdir}/mpich/lib/%{name}-%{version}/ %{_includedir}/mpich-%{_arch}/%{name}/ +%if 0%{?rhel} +%{_fmoddir}/mpich-%{_arch}/%{name}/ +%else %{_fmoddir}/mpich/%{name}/ %endif +%endif %changelog +* Sun Dec 03 2017 Antonio Trande - 3.8.1-2 +- Fix Fortran MPI library path on epel + * Wed Nov 22 2017 Antonio Trande - 3.8.1-1 - Update to 3.8.1 - Disable Sundials