Fix Fortran MPI library path on epel

This commit is contained in:
sagitter 2017-12-03 16:55:36 +01:00
parent 03de112352
commit 0fa32b9805

View File

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