Hello community, here is the log from the commit of package boost for openSUSE:Factory checked in at 2015-12-27 01:59:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/boost (Old) and /work/SRC/openSUSE:Factory/.boost.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "boost" Changes: -------- --- /work/SRC/openSUSE:Factory/boost/boost.changes 2015-12-17 15:54:08.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.boost.new/boost.changes 2015-12-27 01:59:02.000000000 +0100 @@ -1,0 +2,6 @@ +Sun Dec 13 15:31:10 UTC 2015 - egeor...@openmailbox.org + +- Add support to Boost:Python3 (boo#951902) + * New library: python3 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ boost.spec ++++++ --- /var/tmp/diff_new_pack.4Azvhr/_old 2015-12-27 01:59:07.000000000 +0100 +++ /var/tmp/diff_new_pack.4Azvhr/_new 2015-12-27 01:59:07.000000000 +0100 @@ -94,6 +94,7 @@ BuildRequires: libexpat-devel BuildRequires: libicu-devel >= 4.4 BuildRequires: python-devel +BuildRequires: python3-devel #!BuildIgnore: python BuildRequires: zlib-devel Recommends: %{all_libs} @@ -311,6 +312,14 @@ %description -n libboost_python%{lib_appendix} This package contains the Boost::Python Runtime libraries. +%package -n libboost_python3-%{lib_appendix} +Summary: Boost::Python Runtime Libraries +Group: System/Libraries +Requires: boost-license%{lib_appendix} + +%description -n libboost_python3-%{lib_appendix} +This package contains the Boost::Python3 Runtime libraries. + %package -n libboost_serialization%{lib_appendix} Summary: Boost::Serialization Runtime Libraries Group: System/Libraries @@ -458,6 +467,8 @@ %endif BJAM_CONFIG="-d2 -j$JOBS -sICU_PATH=%{_prefix}" PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]') +PYTHON3_VERSION=$(python3 -c 'import sys; print (sys.version[:3])') +PYTHON3_INCLUDE=m PYTHON_FLAGS="--with-python-root=%{_prefix} --with-python-version=$PYTHON_VERSION" export REGEX_FLAGS="--with-icu" export EXPAT_INCLUDE=%{_includedir} EXPAT_LIBPATH=%{_libdir} @@ -488,6 +499,16 @@ local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ; using gcc : : : <compileflags>\$(RPM_OPT_FLAGS) ; + +using python + : $PYTHON3_VERSION + : /usr/bin/python$PYTHON3_VERSION + : /usr/include/python$PYTHON3_VERSION$PYTHON3_INCLUDE + : /usr/lib/python$PYTHON3_VERSION + : + : + ; + EOF %if %{build_docs} @@ -611,6 +632,8 @@ %post -n libboost_python%{lib_appendix} -p /sbin/ldconfig +%post -n libboost_python3-%{lib_appendix} -p /sbin/ldconfig + %post -n libboost_regex%{lib_appendix} -p /sbin/ldconfig %post -n libboost_serialization%{lib_appendix} -p /sbin/ldconfig @@ -662,6 +685,8 @@ %postun -n libboost_python%{lib_appendix} -p /sbin/ldconfig +%postun -n libboost_python3-%{lib_appendix} -p /sbin/ldconfig + %postun -n libboost_regex%{lib_appendix} -p /sbin/ldconfig %postun -n libboost_serialization%{lib_appendix} -p /sbin/ldconfig @@ -759,7 +784,11 @@ %files -n libboost_python%{lib_appendix} %defattr(-, root, root, -) -%{_libdir}/libboost_python*.so.* +%{_libdir}/libboost_python.so.* + +%files -n libboost_python3-%{lib_appendix} +%defattr(-, root, root, -) +%{_libdir}/libboost_python3.so.* %files -n libboost_serialization%{lib_appendix} %defattr(-, root, root, -)