Fix build for SLE11SP4
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=187
This commit is contained in:
parent
6269552c78
commit
1ac2fda815
16
boost.spec
16
boost.spec
@ -1128,10 +1128,12 @@ echo 'using mpi ;' >> ./user-config.jam
|
||||
# Can't be too careful!
|
||||
cp %{SOURCE101} .
|
||||
chmod +x symbol_diff.sh
|
||||
%if %{with python3}
|
||||
./symbol_diff.sh python3-stage/lib/libboost_mpi.so python-stage/lib/libboost_mpi.so
|
||||
./symbol_diff.sh python3-stage/lib/libboost_mpi.so stage/lib/libboost_mpi.so
|
||||
./symbol_diff.sh python3-stage/lib/libboost_serialization.so python-stage/lib/libboost_serialization.so
|
||||
./symbol_diff.sh python3-stage/lib/libboost_serialization.so stage/lib/libboost_serialization.so
|
||||
%endif
|
||||
./symbol_diff.sh python-stage/lib/libboost_serialization.so stage/lib/libboost_serialization.so
|
||||
./symbol_diff.sh python-stage/lib/libboost_mpi.so stage/lib/libboost_mpi.so
|
||||
|
||||
# Build documentation
|
||||
%if %{with build_quickbook}
|
||||
@ -1544,6 +1546,7 @@ rm -r %{buildroot}%{_includedir}/boost/context
|
||||
%{_libdir}/libboost_mpi_python.so
|
||||
|
||||
%files -n python-boost_parallel_mpi%{lib_appendix}
|
||||
%defattr(-, root, root, -)
|
||||
%dir %{py_sitedir}/boost
|
||||
%dir %{py_sitedir}/boost/parallel
|
||||
%dir %{py_sitedir}/boost/parallel/mpi
|
||||
@ -1562,6 +1565,7 @@ rm -r %{buildroot}%{_includedir}/boost/context
|
||||
%{_libdir}/libboost_mpi_python-py3.so
|
||||
|
||||
%files -n python3-boost_parallel_mpi%{lib_appendix}
|
||||
%defattr(-, root, root, -)
|
||||
%dir %{python3_sitearch}/boost
|
||||
%dir %{python3_sitearch}/boost/parallel
|
||||
%dir %{python3_sitearch}/boost/parallel/mpi
|
||||
@ -1712,9 +1716,6 @@ rm -r %{buildroot}%{_includedir}/boost/context
|
||||
%files -n %{package_name}-devel
|
||||
%defattr(-, root, root, -)
|
||||
%{my_docdir}/README.boost-devel
|
||||
#%%{_includedir}/boost
|
||||
#%%{_libdir}/*.so
|
||||
#%%{_datadir}/aclocal/*.m4
|
||||
|
||||
%files -n %{package_name}-doc-html
|
||||
%defattr(-, root, root, -)
|
||||
@ -1724,22 +1725,25 @@ rm -r %{buildroot}%{_includedir}/boost/context
|
||||
|
||||
%if %{with build_docs}
|
||||
%files doc-man
|
||||
%defattr(644, root, root, -)
|
||||
%defattr(-, root, root, -)
|
||||
%doc %{_mandir}/man3/*.3.gz
|
||||
%doc %{_mandir}/man7/*.7.gz
|
||||
%doc %{_mandir}/man9/*.9.gz
|
||||
|
||||
%endif
|
||||
|
||||
%if %{with package_pdf}
|
||||
%files -n %{package_name}-doc-pdf
|
||||
%defattr(-, root, root, -)
|
||||
%doc ../boost_%{short_version}_pdf/*.pdf
|
||||
|
||||
%endif
|
||||
|
||||
%if %{with build_quickbook}
|
||||
%files -n %{package_name}-quickbook
|
||||
%defattr(-, root, root, -)
|
||||
%{_bindir}/quickbook
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user