Accepting request 456076 from home:matejcik:branches:devel:libraries:c_c++

update python macros to work with new pythons,
replace macros that are being phased out

OBS-URL: https://build.opensuse.org/request/show/456076
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=192
This commit is contained in:
Adam Majer 2017-02-10 17:33:47 +00:00 committed by Git OBS Bridge
parent 6d5b03ae5c
commit 6b5f55d85a
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 10 13:35:53 UTC 2017 - jmatejek@suse.com
- update python macros
-------------------------------------------------------------------
Fri Feb 3 15:58:17 UTC 2017 - adam.majer@suse.de

View File

@ -1056,9 +1056,9 @@ cp user-config.jam user-config-py.jam
cat << EOF >> user-config-py.jam
using python
: %{py_ver}
: %{__python2}
: %{py_incdir}
: %{py_libdir}
: %{_bindir}/python2
: %{_includedir}/python%{py_ver}
: %{_libdir}/python%{py_ver}
:
:
;
@ -1076,12 +1076,13 @@ EOF
# Build boost python3 and MPI, installed in python3 staging
%if %{with python3}
%{?!py3_abiflags:%define py3_abiflags m}
cp user-config.jam user-config-py3.jam
cat << EOF >> user-config-py3.jam
using python
: %{py3_ver}
: /usr/bin/python%{py3_ver}%{py3_abiflags}
: %{py3_incdir}
: %{_bindir}/python3
: %{_includedir}/python%{py3_ver}%{py3_abiflags}
:
:
: .%{py3_soflags}