From 94efa61831aa4445a1ebd45ae6a523fdec4f1fac9e64bf3d990bee0ce1c886a7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 17 Dec 2019 13:01:13 +0000 Subject: [PATCH] Accepting request 756854 from home:StefanBruens:branches:openSUSE:Factory:Staging:A - Remove hardcoded abiflags (%py3_abiflags is not available for 3 years), use python3-config instead. Fixes build with Python 3.8. OBS-URL: https://build.opensuse.org/request/show/756854 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=245 --- boost.changes | 6 ++++++ boost.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/boost.changes b/boost.changes index 015980d..f32537f 100644 --- a/boost.changes +++ b/boost.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 13 04:03:05 UTC 2019 - Stefan Brüns + +- Remove hardcoded abiflags (%py3_abiflags is not available for 3 + years), use python3-config instead. Fixes build with Python 3.8. + ------------------------------------------------------------------- Fri Nov 8 15:21:03 UTC 2019 - Stefan Brüns diff --git a/boost.spec b/boost.spec index 6a09059..ea755fd 100644 --- a/boost.spec +++ b/boost.spec @@ -1323,7 +1323,7 @@ EOF %if %{with python3} cp user-config.jam user-config-py3.jam # sed -i -e 's#//boost_python#//boost_python3#' ./user-config-py3.jam -%{?!py3_abiflags: %define py3_abiflags m} +%define py3_abiflags %(python3-config --abiflags) %{?!python3_version: %define python3_version %{py3_ver} } cat << EOF >> user-config-py3.jam