[packages/boost] - rel 4; fix python 3.8 build
arekm
arekm at pld-linux.org
Thu Oct 31 07:07:49 CET 2019
commit adf920b0ea27941fb7f5942f18cd34194c64b9cf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 31 07:07:41 2019 +0100
- rel 4; fix python 3.8 build
boost.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/boost.spec b/boost.spec
index a130709..821b8e6 100644
--- a/boost.spec
+++ b/boost.spec
@@ -13,7 +13,7 @@ Summary: The Boost C++ Libraries
Summary(pl.UTF-8): Biblioteki C++ "Boost"
Name: boost
Version: 1.71.0
-Release: 3
+Release: 4
License: Boost Software License and others
Group: Libraries
Source0: http://dl.bintray.com/boostorg/release/%{version}/source/%{name}_%{fver}.tar.bz2
@@ -51,6 +51,12 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define py2v %(echo %{py_ver} | tr -d .)
%define py3v %(echo %{py3_ver} | tr -d .)
+%if "%{py3_ver}" >= "3.8"
+%define py3v_suffix ""
+%else
+%define py3v_suffix "m"
+%endif
+
%description
The Boost web site provides free peer-reviewed portable C++ source
libraries. The emphasis is on libraries which work well with the C++
@@ -506,7 +512,7 @@ ICU_PATH=%{_prefix} \
variant=release
%if %{with python3}
-echo "using python : %{py3_ver} : %{py3_prefix} : %{py3_incdir} : : : : m ;" >> project-config.jam
+echo "using python : %{py3_ver} : %{py3_prefix} : %{py3_incdir} : : : : %{py3v_suffix} ;" >> project-config.jam
./b2 \
--with-python python=%{py3_ver} \
-a -d2 --toolset=gcc \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/boost.git/commitdiff/adf920b0ea27941fb7f5942f18cd34194c64b9cf
More information about the pld-cvs-commit
mailing list