Accepting request 915061 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/915061 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=4
This commit is contained in:
commit
a688617ee6
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 30 12:48:25 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Switch on option --with-system-libmpdec (bsc#1189356).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 27 13:15:03 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -76,6 +76,12 @@
|
||||
%if "%{_arch}" == "arm"
|
||||
%define armsuffix hf
|
||||
%endif
|
||||
# Decide whether we want to use mpdecimal
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%bcond_without mpdecimal
|
||||
%else
|
||||
%bcond_with mpdecimal
|
||||
%endif
|
||||
# pyexpat.cpython-35m-x86_64-linux-gnu
|
||||
# pyexpat.cpython-35m-powerpc64le-linux-gnu
|
||||
# pyexpat.cpython-35m-armv7-linux-gnueabihf
|
||||
@ -158,6 +164,9 @@ BuildRequires: pkgconfig(zlib)
|
||||
BuildRequires: pkgconfig(libnsl)
|
||||
BuildRequires: pkgconfig(libtirpc)
|
||||
%endif
|
||||
%if %{with mpdecimal}
|
||||
BuildRequires: mpdecimal-devel
|
||||
%endif
|
||||
%if %{with doc}
|
||||
BuildRequires: python3-Sphinx
|
||||
%if 0%{?suse_version} >= 1500
|
||||
@ -444,6 +453,9 @@ export CFLAGS="%{optflags} -IVendor/"
|
||||
--with-lto \
|
||||
%if %{with profileopt}
|
||||
--enable-optimizations \
|
||||
%endif
|
||||
%if %{with mpdecimal}
|
||||
--with-system-libmpdec \
|
||||
%endif
|
||||
--enable-loadable-sqlite-extensions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user