From: John Mulligan Date: Wed, 22 Apr 2026 18:06:20 +0000 (-0400) Subject: ceph.spec.in: add support for ceph-smb-ctl entrypoint script X-Git-Tag: v21.0.1~17^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2439f9a045a3d69f7d30e425f06eb3f70660f0f5;p=ceph.git ceph.spec.in: add support for ceph-smb-ctl entrypoint script This package is conditional on the new `pypkg` packaging mode. Signed-off-by: John Mulligan --- diff --git a/ceph.spec.in b/ceph.spec.in index 780889d5e73..3ec089b6620 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1251,6 +1251,9 @@ descriptions, and submitting the command to the appropriate daemon. Summary: Python 3 utility libraries for Ceph %if 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?openEuler} Requires: python%{python3_pkgversion}-pyyaml +%if %{with pypkg} +Recommends: python%{python3_pkgversion}-ceph-smb-ctl +%endif %endif %if 0%{?suse_version} Requires: python%{python3_pkgversion}-PyYAML @@ -1397,6 +1400,22 @@ Group: System/Monitoring %description node-proxy This package provides a Ceph hardware monitoring agent. +%if %{with pypkg} +%package -n python%{python3_pkgversion}-ceph-smb-ctl +Summary: Ceph SMB Service Remote-Control Client +BuildArch: noarch +%if 0%{?suse_version} +Group: System/Filesystems +%endif +Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release} +Requires: python%{python3_pkgversion}-grpcio +Requires: python%{python3_pkgversion}-grpcio-reflection +%description -n python%{python3_pkgversion}-ceph-smb-ctl +This package provides a tool to interact with Ceph's SMB Service Remote-Control +gRPC API as a client. +%endif +%dnl end package python%{python3_pkgversion}-ceph-smb-ctl + ################################################################################# # common ################################################################################# @@ -2788,4 +2807,9 @@ exit 0 %{python3_sitelib}/ceph_node_proxy/* %{python3_sitelib}/ceph_node_proxy-* +%if %{with pypkg} +%files -n python%{python3_pkgversion}-ceph-smb-ctl +%{_bindir}/ceph-smb-ctl +%endif + %changelog