Split python support into sub-packages
This commit is contained in:
parent
3053280917
commit
1eae3e0e8e
29
mpich.spec
29
mpich.spec
@ -87,6 +87,20 @@ Obsoletes: mpich2-doc < 3.0
|
|||||||
%description doc
|
%description doc
|
||||||
Contains documentations, examples and man-pages for mpich
|
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.
|
# We only compile with gcc, but other people may want other compilers.
|
||||||
# Set the compiler here.
|
# Set the compiler here.
|
||||||
%{!?opt_cc: %global opt_cc gcc}
|
%{!?opt_cc: %global opt_cc gcc}
|
||||||
@ -214,10 +228,6 @@ make check VERBOSE=1
|
|||||||
%dir %{_libdir}/%{name}/bin
|
%dir %{_libdir}/%{name}/bin
|
||||||
%{_libdir}/%{name}/lib/*.so.*
|
%{_libdir}/%{name}/lib/*.so.*
|
||||||
%{_libdir}/%{name}/bin/*
|
%{_libdir}/%{name}/bin/*
|
||||||
%dir %{python2_sitearch}/%{name}
|
|
||||||
%{python2_sitearch}/%{name}.pth
|
|
||||||
%dir %{python3_sitearch}/%{name}
|
|
||||||
%{python3_sitearch}/%{name}.pth
|
|
||||||
%dir %{_mandir}/%{name}-%{_arch}
|
%dir %{_mandir}/%{name}-%{_arch}
|
||||||
%doc %{_mandir}/%{name}-%{_arch}/man1/
|
%doc %{_mandir}/%{name}-%{_arch}/man1/
|
||||||
%{_sysconfdir}/modulefiles/mpi/
|
%{_sysconfdir}/modulefiles/mpi/
|
||||||
@ -237,7 +247,18 @@ make check VERBOSE=1
|
|||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%{_datadir}/%{name}/doc/
|
%{_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
|
%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
|
* Wed Mar 30 2016 Michal Toman <mtoman@fedoraproject.org> - 3.2-6
|
||||||
- Fix build on MIPS
|
- Fix build on MIPS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user