Fix MPI paths

This commit is contained in:
sagitter 2017-08-13 19:28:37 +02:00
parent 94f047a585
commit e132ea4fe9

View File

@ -958,21 +958,21 @@ make -C buildmpich_dir test
%if %{with openmpi}
%files openmpi
%license buildopenmpi_dir/LICENSE
%{_libmpidir}/libpetsc.so.*
%{_libdir}/openmpi/lib/libpetsc.so.*
%files openmpi-devel
%{_libmpidir}/libpetsc.so
%{_incmpidir}/%{name}/
%{_libdir}/openmpi/lib/libpetsc.so
%{_includedir}/openmpi-%{_arch}/%{name}/
%endif
%if %{with mpich}
%files mpich
%license buildmpich_dir/LICENSE
%{_libmpichdir}/libpetsc.so.*
%{_libdir}/mpich/lib/libpetsc.so.*
%files mpich-devel
%{_libmpichdir}/libpetsc.so
%{_incmpichdir}/%{name}/
%{_libdir}/mpich/lib/libpetsc.so
%{_includedir}/mpich-%{_arch}/%{name}/
%endif
%changelog