public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sai Harsha Suryadevara <ssuryad@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python3.13] rawhide: Add a build conditional for libb2, default unchanged
Date: Fri, 20 Nov 2026 22:58:41 GMT [thread overview]
Message-ID: <179521552102.1.2803713158197811713.rpms-python3.13-e07286ddce4e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python3.13
Branch : rawhide
Commit : e07286ddce4e544acf880d6b6f8227c229c1c98a
Author : Sai Harsha Suryadevara <ssuryad@amazon.com>
Date : 2026-11-20T22:57:44+00:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python3.13/c/e07286ddce4e544acf880d6b6f8227c229c1c98a?branch=rawhide
Log:
Add a build conditional for libb2, default unchanged
libb2 is not in every distribution. The default is the current %{undefined rhel} test, so Fedora and RHEL builds do not change.
Signed-off-by: Sai Harsha Suryadevara <ssuryad@amazon.com>
---
diff --git a/python3.13.spec b/python3.13.spec
index f6bbe19..2484c31 100644
--- a/python3.13.spec
+++ b/python3.13.spec
@@ -90,6 +90,9 @@ License: Python-2.0.1
# Main interpreter loop optimization
%bcond computed_gotos 1
+# Use the system libb2 for the blake2 module, CPython's bundled copy otherwise
+%bcond libb2 %{undefined rhel}
+
# =====================
# General global macros
# =====================
@@ -283,7 +286,7 @@ BuildRequires: /usr/bin/dtrace
# https://github.com/python/cpython/issues/146207
BuildRequires: (openssl-devel < 1:4 or openssl3-devel)
-%if %{undefined rhel}
+%if %{with libb2}
BuildRequires: libb2-devel
%endif
reply other threads:[~2026-11-20 22:58 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=179521552102.1.2803713158197811713.rpms-python3.13-e07286ddce4e@fedoraproject.org \
--to=ssuryad@amazon.com \
--cc=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