Use the system installed mpdecimal instead of the bundled copy (#1943359)
This commit is contained in:
parent
dd49c3369d
commit
da277b0c4e
@ -17,7 +17,7 @@ URL: https://www.python.org/
|
||||
%global prerel b1
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: Python
|
||||
|
||||
|
||||
@ -197,6 +197,7 @@ BuildRequires: libGL-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: mpdecimal-devel
|
||||
BuildRequires: ncurses-devel
|
||||
|
||||
BuildRequires: openssl-devel
|
||||
@ -610,6 +611,7 @@ find -name '*.exe' -print -delete
|
||||
|
||||
# Remove bundled libraries to ensure that we're using the system copy.
|
||||
rm -r Modules/expat
|
||||
rm -r Modules/_decimal/libmpdec
|
||||
|
||||
# Remove files that should be generated by the build
|
||||
# (This is after patching, so that we can use patches directly from upstream)
|
||||
@ -695,6 +697,7 @@ BuildPython() {
|
||||
--with-dbmliborder=gdbm:ndbm:bdb \
|
||||
--with-system-expat \
|
||||
--with-system-ffi \
|
||||
--with-system-libmpdec \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--with-dtrace \
|
||||
--with-lto \
|
||||
@ -1575,6 +1578,9 @@ CheckPython optimized
|
||||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Fri May 14 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.10.0~b1-2
|
||||
- Use the system installed mpdecimal instead of the bundled copy (#1943359)
|
||||
|
||||
* Tue May 04 2021 Tomas Hrnciar <thrnciar@redhat.com> - 3.10.0~b1-1
|
||||
- Update to 3.10.0b1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user