From 2d0b50b214bea94a1925ec93b8da237e4adba678 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Mon, 12 Jan 2026 11:55:39 +0100 Subject: [PATCH] Extend the expat requirement to differentiate between 32 and 64 arches (cherry picked from python3.15 commit a5ca170d3f1e6e19f5df66f21482c2b10593af42) --- python3.12.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3.12.spec b/python3.12.spec index ba27c1e..8607439 100644 --- a/python3.12.spec +++ b/python3.12.spec @@ -585,7 +585,7 @@ Requires: tzdata # was used during the build time. # Other subpackages (like -debug) also need this, but they all depend on -libs. %global expat_version %(LANG=C rpm -q --qf '%%{version}' expat.%{_target_cpu} | sed 's/.*not installed/0/') -Requires: expat >= %{expat_version} +Requires: expat%{?_isa} >= %{expat_version} %description -n %{pkgname}-libs