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:
parent
6d5b03ae5c
commit
6b5f55d85a
@ -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
|
Fri Feb 3 15:58:17 UTC 2017 - adam.majer@suse.de
|
||||||
|
|
||||||
|
11
boost.spec
11
boost.spec
@ -1056,9 +1056,9 @@ cp user-config.jam user-config-py.jam
|
|||||||
cat << EOF >> user-config-py.jam
|
cat << EOF >> user-config-py.jam
|
||||||
using python
|
using python
|
||||||
: %{py_ver}
|
: %{py_ver}
|
||||||
: %{__python2}
|
: %{_bindir}/python2
|
||||||
: %{py_incdir}
|
: %{_includedir}/python%{py_ver}
|
||||||
: %{py_libdir}
|
: %{_libdir}/python%{py_ver}
|
||||||
:
|
:
|
||||||
:
|
:
|
||||||
;
|
;
|
||||||
@ -1076,12 +1076,13 @@ EOF
|
|||||||
|
|
||||||
# Build boost python3 and MPI, installed in python3 staging
|
# Build boost python3 and MPI, installed in python3 staging
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
|
%{?!py3_abiflags:%define py3_abiflags m}
|
||||||
cp user-config.jam user-config-py3.jam
|
cp user-config.jam user-config-py3.jam
|
||||||
cat << EOF >> user-config-py3.jam
|
cat << EOF >> user-config-py3.jam
|
||||||
using python
|
using python
|
||||||
: %{py3_ver}
|
: %{py3_ver}
|
||||||
: /usr/bin/python%{py3_ver}%{py3_abiflags}
|
: %{_bindir}/python3
|
||||||
: %{py3_incdir}
|
: %{_includedir}/python%{py3_ver}%{py3_abiflags}
|
||||||
:
|
:
|
||||||
:
|
:
|
||||||
: .%{py3_soflags}
|
: .%{py3_soflags}
|
||||||
|
Loading…
Reference in New Issue
Block a user