public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/iscsi-initiator-utils] rawhide: Deprecate python3-iscsi-initiator-utils and remove for RHEL-11
@ 2026-12-02  0:31 Jesse Taube
  0 siblings, 0 replies; only message in thread
From: Jesse Taube @ 2026-12-02  0:31 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-12-02  0:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02  0:31 [rpms/iscsi-initiator-utils] rawhide: Deprecate python3-iscsi-initiator-utils and remove for RHEL-11 Jesse Taube

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox