public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3.13] rawhide: Add a build conditional for libb2, default unchanged
@ 2026-11-20 22:58 Sai Harsha Suryadevara
  0 siblings, 0 replies; only message in thread
From: Sai Harsha Suryadevara @ 2026-11-20 22:58 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-20 22:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 22:58 [rpms/python3.13] rawhide: Add a build conditional for libb2, default unchanged Sai Harsha Suryadevara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox