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

A new commit has been pushed.

Repo   : rpms/python3.11
Branch : rawhide
Commit : 0f4d74612f10c1bbfbd0e5514763af2215a8ac2a
Author : Sai Harsha Suryadevara <ssuryad@amazon.com>
Date   : 2026-11-02T20:00:50+00:00
Stats  : +9/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python3.11/c/0f4d74612f10c1bbfbd0e5514763af2215a8ac2a?branch=rawhide

Log:
Add a build conditional for the nis module, default on

---
diff --git a/python3.11.spec b/python3.11.spec
index a7f2555..caf9144 100644
--- a/python3.11.spec
+++ b/python3.11.spec
@@ -89,6 +89,9 @@ License: Python-2.0.1
 # Main interpreter loop optimization
 %bcond_without computed_gotos
 
+# The nis module (NIS/YP client), needs libnsl2 and libtirpc
+%bcond_without nis
+
 # Support for the Valgrind debugger/profiler
 %ifarch %{valgrind_arches}
 %bcond_without valgrind
@@ -208,8 +211,10 @@ BuildRequires: libappstream-glib
 BuildRequires: libb2-devel
 %endif
 BuildRequires: libffi-devel
+%if %{with nis}
 BuildRequires: libnsl2-devel
 BuildRequires: libtirpc-devel
+%endif
 BuildRequires: libGL-devel
 BuildRequires: libuuid-devel
 BuildRequires: libxcrypt-devel
@@ -1333,7 +1338,9 @@ CheckPython optimized
 %{dynload_dir}/grp.%{SOABI_optimized}.so
 %{dynload_dir}/math.%{SOABI_optimized}.so
 %{dynload_dir}/mmap.%{SOABI_optimized}.so
+%if %{with nis}
 %{dynload_dir}/nis.%{SOABI_optimized}.so
+%endif
 %{dynload_dir}/ossaudiodev.%{SOABI_optimized}.so
 %{dynload_dir}/_posixshmem.%{SOABI_optimized}.so
 %{dynload_dir}/pyexpat.%{SOABI_optimized}.so
@@ -1627,7 +1634,9 @@ CheckPython optimized
 %{dynload_dir}/grp.%{SOABI_debug}.so
 %{dynload_dir}/math.%{SOABI_debug}.so
 %{dynload_dir}/mmap.%{SOABI_debug}.so
+%if %{with nis}
 %{dynload_dir}/nis.%{SOABI_debug}.so
+%endif
 %{dynload_dir}/ossaudiodev.%{SOABI_debug}.so
 %{dynload_dir}/_posixshmem.%{SOABI_debug}.so
 %{dynload_dir}/pyexpat.%{SOABI_debug}.so

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03  7:58 [rpms/python3.11] rawhide: Add a build conditional for the nis module, default on 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