public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jesse Taube <jtaubepe@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/iscsi-initiator-utils] rawhide: Remove iSNS support for RHEL 11
Date: Tue, 01 Dec 2026 21:35:50 GMT	[thread overview]
Message-ID: <179616095034.1.11813489848688519052.rpms-iscsi-initiator-utils-bd9fd75dabb2@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/iscsi-initiator-utils
            Branch : rawhide
            Commit : bd9fd75dabb2ae7f350a3799760406322e010c60
            Author : Jesse Taube <jtaubepe@redhat.com>
            Date   : 2026-11-30T11:31:30-05:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/iscsi-initiator-utils/c/bd9fd75dabb2ae7f350a3799760406322e010c60?branch=rawhide

            Log:
            Remove iSNS support for RHEL 11

RHEL 11 is dropping support for iSNS. Only build with iSNS
on fedora.

Resovles: RHEL-301459

Signed-off-by: Jesse Taube <jtaubepe@redhat.com>

---
diff --git a/iscsi-initiator-utils.spec b/iscsi-initiator-utils.spec
index 0159302..c176604 100644
--- a/iscsi-initiator-utils.spec
+++ b/iscsi-initiator-utils.spec
@@ -5,6 +5,7 @@
 %global commitdate0		20250215
 # set this to 1 if commit0 is a snapshot after the tagged version
 %global with_snapshot		0
+%bcond isns %[0%{?rhel} < 11]
 
 Summary: iSCSI daemon and utility programs
 Name: iscsi-initiator-utils
@@ -47,7 +48,7 @@ Patch104: 0104-libiscsi-build-fixes.patch
 BuildRequires: meson git
 BuildRequires: flex bison doxygen kmod-devel systemd-units
 BuildRequires: autoconf automake libtool libmount-devel openssl-devel
-BuildRequires: isns-utils-devel
+%{?with_isns:BuildRequires: isns-utils-devel}
 BuildRequires: systemd-devel
 Requires: %{name}-iscsiuio >= %{version}-%{release}
 Requires: (fedora-release-common >= 38-0.23 if fedora-release-common)
@@ -106,7 +107,7 @@ popd > /dev/null
 # avoid undefined references linking failures
 %undefine _ld_as_needed
 
-%meson -Diqn_prefix=iqn.1994-05.com.redhat -Discsi_sbindir=%{_sbindir}
+%meson -Diqn_prefix=iqn.1994-05.com.redhat -Discsi_sbindir=%{_sbindir} %{!?with_isns:-Disns=disabled}
 %meson_build
 
 %make_build LDFLAGS="%{build_ldflags}" iqn_prefix=iqn.1994-05.com.redhat DBROOT=/var/lib/iscsi libiscsi
@@ -121,7 +122,9 @@ popd
 %{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/nodes
 %{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/send_targets
 %{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/static
+%if %{with isns}
 %{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/isns
+%endif
 %{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/slp
 %{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/ifaces
 
@@ -189,7 +192,9 @@ systemctl --no-reload preset iscsi.service iscsi-starter.service &>/dev/null || 
 %doc README
 %dir %{_sharedstatedir}/iscsi
 %dir %{_sharedstatedir}/iscsi/nodes
+%if %{with isns}
 %dir %{_sharedstatedir}/iscsi/isns
+%endif
 %dir %{_sharedstatedir}/iscsi/static
 %dir %{_sharedstatedir}/iscsi/slp
 %dir %{_sharedstatedir}/iscsi/ifaces

                 reply	other threads:[~2026-12-01 21:35 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=179616095034.1.11813489848688519052.rpms-iscsi-initiator-utils-bd9fd75dabb2@fedoraproject.org \
    --to=jtaubepe@redhat.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