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

            A new commit has been pushed.

            Repo   : rpms/python3.12
            Branch : rawhide
            Commit : 094c901d84802b8093ae2b2c4789b797407bcb53
            Author : Sai Harsha Suryadevara <ssuryad@amazon.com>
            Date   : 2026-11-20T22:59:01+00:00
            Stats  : +8/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python3.12/c/094c901d84802b8093ae2b2c4789b797407bcb53?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, in the %bcond_without form this spec uses, so Fedora and RHEL builds do not change.

Signed-off-by: Sai Harsha Suryadevara <ssuryad@amazon.com>

---
diff --git a/python3.12.spec b/python3.12.spec
index 33fb543..990072d 100644
--- a/python3.12.spec
+++ b/python3.12.spec
@@ -140,6 +140,13 @@ Provides: bundled(python3dist(zipp)) = 3.19.2
 # The nis module (NIS/YP client), needs libnsl2 and libtirpc
 %bcond_without nis
 
+# Use the system libb2 for the blake2 module, CPython's bundled copy otherwise
+%if %{undefined rhel}
+%bcond_without libb2
+%else
+%bcond_with libb2
+%endif
+
 # Support for the Valgrind debugger/profiler
 %ifarch %{valgrind_arches}
 %bcond_without valgrind
@@ -249,7 +256,7 @@ BuildRequires: glibc-all-langpacks
 BuildRequires: glibc-devel
 BuildRequires: gmp-devel
 BuildRequires: libappstream-glib
-%if %{undefined rhel}
+%if %{with libb2}
 BuildRequires: libb2-devel
 %endif
 BuildRequires: libffi-devel

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 23:00 [rpms/python3.12] 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