public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python3.10] f43: Only explicitly require expat >= installed version when expat < 2.7.4
Date: Wed, 12 Aug 2026 19:06:22 GMT [thread overview]
Message-ID: <178656158211.1.1009414196467507713.rpms-python3.10-b4205523e70d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python3.10
Branch : f43
Commit : b4205523e70d79d5be55bc4d9368bbe1cbceddcb
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-08-12T19:04:54+00:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python3.10/c/b4205523e70d79d5be55bc4d9368bbe1cbceddcb?branch=f43
Log:
Only explicitly require expat >= installed version when expat < 2.7.4
See https://src.fedoraproject.org/rpms/expat/c/4da0543472
(cherry picked from python3.15 commit ce1bde3e67443b7cf5df33bf58cb2ec75cc2c8e2)
---
diff --git a/python3.10.spec b/python3.10.spec
index d06a2f6..97d0e29 100644
--- a/python3.10.spec
+++ b/python3.10.spec
@@ -545,8 +545,12 @@ Requires: tzdata
# We avoid this problem by requiring at least the same version of expat that
# was used during the build time.
# Other subpackages (like -debug) also need this, but they all depend on -libs.
+# Since expat 2.7.4, the library has versioned symbols and this is no longer needed,
+# as the generated requirement will be in the form of libexpat.so.1(LIBEXPAT_2.7.2) etc.
%global expat_version %(LANG=C rpm -q --qf '%%{version}' expat.%{_target_cpu} | sed 's/.*not installed/0/')
+%if v"%{expat_version}" < v"2.7.4"
Requires: expat%{?_isa} >= %{expat_version}
+%endif
# Since patch 251 changed from distutils to sysconfig, pip needed to be adapted
reply other threads:[~2026-08-12 19:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178656158211.1.1009414196467507713.rpms-python3.10-b4205523e70d@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox