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: Deprecate python3-iscsi-initiator-utils and remove for RHEL-11
Date: Wed, 02 Dec 2026 00:31:30 GMT	[thread overview]
Message-ID: <179617149029.1.838963648941117267.rpms-iscsi-initiator-utils-be5a8b44ee0d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/iscsi-initiator-utils
            Branch : rawhide
            Commit : be5a8b44ee0da5ae905b42cfc9ba400ab7979d31
            Author : Jesse Taube <jtaubepe@redhat.com>
            Date   : 2026-12-01T18:51:01-05:00
            Stats  : +15/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/iscsi-initiator-utils/c/be5a8b44ee0da5ae905b42cfc9ba400ab7979d31?branch=rawhide

            Log:
            Deprecate python3-iscsi-initiator-utils and remove for RHEL-11

There are no known users of python3-iscsi-initiator-utils.
Removing it from RHEL-11 and mark it as deprecated for Fedora.

Resolves: RHEL-301465

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

---
diff --git a/iscsi-initiator-utils.spec b/iscsi-initiator-utils.spec
index 312c353..ea57850 100644
--- a/iscsi-initiator-utils.spec
+++ b/iscsi-initiator-utils.spec
@@ -7,6 +7,7 @@
 %global with_snapshot		0
 %bcond isns %[0%{?rhel} < 11]
 %bcond iscsiuio %[0%{?rhel} < 11]
+%bcond python-iscsi-initiator-utils %[0%{?rhel} < 11]
 
 Summary: iSCSI daemon and utility programs
 Name: iscsi-initiator-utils
@@ -60,7 +61,10 @@ Requires(postun): systemd
 Conflicts: NetworkManager < 1.20
 
 %global _hardened_build 1
+
+%if %{with python-iscsi-initiator-utils}
 %global __provides_exclude_from ^(%{?python3_sitearch:%{python3_sitearch}/.*\\.so})$
+%endif
 
 %description
 The iscsi package provides the server daemon for the iSCSI protocol,
@@ -89,7 +93,9 @@ Requires: %{name} = %{version}-%{release}
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
+%if %{with python-iscsi-initiator-utils}
 %package -n python3-%{name}
+Provides: deprecated()
 Summary: Python %{python3_version} bindings to %{name}
 Requires: %{name} = %{version}-%{release}
 BuildRequires: python3-devel
@@ -98,14 +104,17 @@ BuildRequires: make
 %description -n python3-%{name}
 The %{name}-python3 package contains Python %{python3_version} bindings to the
 libiscsi interface for interacting with %{name}
+%endif
 
 %prep
 %autosetup -p1 -n open-iscsi-%{commit0} -Sgit_am
 
+%if %{with python-iscsi-initiator-utils}
 %generate_buildrequires
 pushd libiscsi > /dev/null
 %pyproject_buildrequires
 popd > /dev/null
+%endif
 
 %build
 # avoid undefined references linking failures
@@ -116,7 +125,9 @@ popd > /dev/null
 
 %make_build LDFLAGS="%{build_ldflags}" iqn_prefix=iqn.1994-05.com.redhat DBROOT=/var/lib/iscsi libiscsi
 pushd libiscsi
+%if %{with python-iscsi-initiator-utils}
 %pyproject_wheel
+%endif
 touch -r libiscsi.doxy html/*
 popd
 
@@ -163,11 +174,13 @@ rm $RPM_BUILD_ROOT/usr/share/man/man8/iscsi_fw_login.8
 %{__install} -d $RPM_BUILD_ROOT%{_includedir}
 %{__install} -pm 644 libiscsi/libiscsi.h $RPM_BUILD_ROOT%{_includedir}
 
+%if %{with python-iscsi-initiator-utils}
 pushd libiscsi
 %{__install} -d $RPM_BUILD_ROOT%{python3_sitearch}
 %pyproject_install
 %pyproject_save_files '*'
 popd
+%endif
 
 %post
 %systemd_post iscsi.service iscsi-starter.service iscsid.service iscsid.socket iscsi-onboot.service iscsi-init.service iscsi-shutdown.service
@@ -253,7 +266,9 @@ systemctl --no-reload preset iscsi.service iscsi-starter.service &>/dev/null || 
 %{_libdir}/pkgconfig/libopeniscsiusr.pc
 %{_mandir}/man3/*
 
+%if %{with python-iscsi-initiator-utils}
 %files -n python3-%{name} -f %{pyproject_files}
+%endif
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-12-02  0:31 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=179617149029.1.838963648941117267.rpms-iscsi-initiator-utils-be5a8b44ee0d@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