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.12] rawhide: Add a build conditional for the nis module, default on
Date: Tue, 03 Nov 2026 07:58:10 GMT	[thread overview]
Message-ID: <179369269069.1.7200491675076079256.rpms-python3.12-7ada797e820d@fedoraproject.org> (raw)

A new commit has been pushed.

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

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

---
diff --git a/python3.12.spec b/python3.12.spec
index b299eab..7806caa 100644
--- a/python3.12.spec
+++ b/python3.12.spec
@@ -137,6 +137,9 @@ Provides: bundled(python3dist(zipp)) = 3.19.2
 # 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
@@ -250,8 +253,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
@@ -1381,7 +1386,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
@@ -1671,7 +1678,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

                 reply	other threads:[~2026-11-03  7: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=179369269069.1.7200491675076079256.rpms-python3.12-7ada797e820d@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