From 7e0f3cb088f5ebe8a14dfae57d004d472664ce45c587f3e00bc84002140dc2f9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 8 Mar 2023 21:18:31 +0000 Subject: [PATCH] - Enable --with-system-ffi for non-standard architectures. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=350 --- python-base.changes | 5 +++++ python-base.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-base.changes b/python-base.changes index e87d362..080bce5 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 8 21:17:18 UTC 2023 - Matej Cepl + +- Enable --with-system-ffi for non-standard architectures. + ------------------------------------------------------------------- Mon Mar 6 15:35:00 UTC 2023 - Matej Cepl diff --git a/python-base.spec b/python-base.spec index 539dfd3..8502ef2 100644 --- a/python-base.spec +++ b/python-base.spec @@ -151,6 +151,7 @@ Patch75: CVE-2023-24329-blank-URL-bypass.patch BuildRequires: automake BuildRequires: fdupes BuildRequires: libbz2-devel +BuildRequires: libffi-devel %if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1599 BuildRequires: libnsl-devel %endif @@ -332,6 +333,7 @@ touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h %configure \ --docdir=%{_docdir}/python \ --with-fpectl \ + --with-system-ffi \ --enable-ipv6 \ --enable-shared \ --enable-unicode=ucs4