https://bugzilla.redhat.com/show_bug.cgi?id=1638994



--- Comment #13 from Jonathan Wakely <jwak...@redhat.com> ---
In RHEL there are subpackages which include Python2 modules for OpenMPI and
MPICH:

%files openmpi-python
%defattr(-, root, root, -)
%doc LICENSE_1_0.txt
%{_libdir}/openmpi/lib/libboost_mpi_python*.so.%{sonamever}
%{_libdir}/openmpi/lib/mpi.so


%files mpich-python
%defattr(-, root, root, -)
%doc LICENSE_1_0.txt
%{_libdir}/mpich/lib/libboost_mpi_python*.so.%{sonamever}
%{_libdir}/mpich/lib/mpi.so


This EPEL package doesn't provide Did you decide not to provide Python3
versions of those for EPEL, or was that unintentional? Packaging them for RHEL
7 might be complicated, because the python2 and python3 modules can't both live
at the same path:
%{_libdir}/mpich/lib/mpi.so

In Fedora they are installed to different locations, via the sitearch macros:

%files mpich-python2
%license LICENSE_1_0.txt
%{_libdir}/mpich/lib/libboost_mpi_python.so.%{sonamever}
%{python2_sitearch}/mpich/boost/


%files mpich-python3
%license LICENSE_1_0.txt
%{_libdir}/mpich/lib/libboost_mpi_python3.so.%{sonamever}
%{python3_sitearch}/mpich/boost/

For EPEL it might be best to just ignore the MPI modules until somebody needs
them (which is what your spec file does now).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org

Reply via email to