From a9faeee96f4c5e36d76898bb6204868beea07c92 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Wed, 8 Jul 2026 14:54:07 +0200 Subject: [PATCH] Drop python-kmodpy dependency nvmetcli can call kmod directly, there is no need for a python library to do that. Drop the dependency on python kmod bindings from distribution packages. Signed-off-by: Michal Suchanek --- debian/control | 2 +- rpm/nvmetcli.spec.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 9ba8d0e..d11008b 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.9.4 Package: nvmetcli Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-configshell-fb, python-kmodpy +Depends: ${misc:Depends}, ${python:Depends}, python-configshell-fb Description: Command line interface for the kernel NVMe target This package contains the command line interface to the NVMe over Fabrics target in the Linux kernel. It allows configuring the target interactively diff --git a/rpm/nvmetcli.spec.tmpl b/rpm/nvmetcli.spec.tmpl index ce454a2..8f88563 100644 --- a/rpm/nvmetcli.spec.tmpl +++ b/rpm/nvmetcli.spec.tmpl @@ -9,7 +9,7 @@ Source: nvmetcli-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rpmroot BuildArch: noarch BuildRequires: python-devel python-setuptools systemd-units -Requires: python-configshell python-kmod +Requires: python-configshell Requires(post): systemd Requires(preun): systemd Requires(postun): systemd