From 4041c8a86ed43834c1b31fe6b644db476adf3056 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Tue, 24 Jun 2025 14:25:40 +0200 Subject: [PATCH] Remove the upper version bound from expat library It's already greater than 2.6 in all Fedoras. --- python3.14.spec | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/python3.14.spec b/python3.14.spec index c5d9bc4..75bb7b0 100644 --- a/python3.14.spec +++ b/python3.14.spec @@ -247,8 +247,7 @@ Obsoletes: python%{pybasever}%{?1:-%{1}}\ BuildRequires: autoconf BuildRequires: bluez-libs-devel BuildRequires: bzip2-devel -# See the runtime requirement in the -libs subpackage -BuildRequires: expat-devel >= 2.6 +BuildRequires: expat-devel BuildRequires: findutils BuildRequires: gcc BuildRequires: gdbm-devel @@ -531,13 +530,6 @@ Recommends: (%{pkgname}-tkinter%{?_isa} if tk%{?_isa}) # The zoneinfo module needs tzdata Requires: tzdata -# The requirement on libexpat is generated, but we need to version it. -# When built with expat >= 2.6, but installed with older expat, we get: -# ImportError: /usr/lib64/python3.X/lib-dynload/pyexpat.cpython-....so: -# undefined symbol: XML_SetReparseDeferralEnabled -# This breaks many things, including python -m venv. -# Other subpackages (like -debug) also need this, but they all depend on -libs. -Requires: expat >= 2.6 %description -n %{pkgname}-libs This package contains runtime libraries for use by Python: @@ -714,7 +706,6 @@ License: %{libs_license} AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND IS # See the comments in the definition of -libs subpackage for detailed explanations Provides: bundled(mimalloc) = 2.12 Requires: tzdata -Requires: expat >= 2.6 %description -n python%{pybasever}-freethreading The Free Threading (PEP 703) build of Python.