Split python support into sub-packages

This commit is contained in:
Orion Poplawski 2016-11-02 11:32:19 -06:00
parent 3053280917
commit 1eae3e0e8e

View File

@ -87,6 +87,20 @@ Obsoletes: mpich2-doc < 3.0
%description doc
Contains documentations, examples and man-pages for mpich
%package -n python2-mpich
Summary: mpich support for Python 2
Group: Development/Libraries
%description -n python2-mpich
mpich support for Python 2.
%package -n python3-mpich
Summary: mpich support for Python 3
Group: Development/Libraries
%description -n python3-mpich
mpich support for Python 3.
# We only compile with gcc, but other people may want other compilers.
# Set the compiler here.
%{!?opt_cc: %global opt_cc gcc}
@ -214,10 +228,6 @@ make check VERBOSE=1
%dir %{_libdir}/%{name}/bin
%{_libdir}/%{name}/lib/*.so.*
%{_libdir}/%{name}/bin/*
%dir %{python2_sitearch}/%{name}
%{python2_sitearch}/%{name}.pth
%dir %{python3_sitearch}/%{name}
%{python3_sitearch}/%{name}.pth
%dir %{_mandir}/%{name}-%{_arch}
%doc %{_mandir}/%{name}-%{_arch}/man1/
%{_sysconfdir}/modulefiles/mpi/
@ -237,7 +247,18 @@ make check VERBOSE=1
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/doc/
%files -n python2-mpich
%dir %{python2_sitearch}/%{name}
%{python2_sitearch}/%{name}.pth
%files -n python3-mpich
%dir %{python3_sitearch}/%{name}
%{python3_sitearch}/%{name}.pth
%changelog
* Wed Nov 2 2016 Orion Poplawski <orion@cora.nwra.com> - 3.2-7
- Split python support into sub-packages
* Wed Mar 30 2016 Michal Toman <mtoman@fedoraproject.org> - 3.2-6
- Fix build on MIPS