diff --git a/SPECS/ceph.spec b/SPECS/ceph.spec
index 15137d4..71d48f2 100644
--- a/SPECS/ceph.spec
+++ b/SPECS/ceph.spec
@@ -22,6 +22,7 @@
 #################################################################################
 %global _hardened_build 1
 
+%bcond_with cephadm
 %bcond_with make_check
 %bcond_with zbd
 %bcond_with cmake_verbose_logging
@@ -460,6 +461,7 @@ Recommends:	chrony
 %description base
 Base is the package that includes all the files shared amongst ceph servers
 
+%if 0%{with cephadm}
 %package -n cephadm
 Summary:	Utility to bootstrap Ceph clusters
 BuildArch:	noarch
@@ -471,6 +473,7 @@ Recommends:	podman >= 2.0.2
 %description -n cephadm
 Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed
 with systemd and podman.
+%endif
 
 %package -n ceph-common
 Summary:	Ceph Common
@@ -1423,6 +1426,7 @@ install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
 install -m 0644 -D etc/sysctl/90-ceph-osd.conf %{buildroot}%{_sysctldir}/90-ceph-osd.conf
 install -m 0755 -D src/tools/rbd_nbd/rbd-nbd_quiesce %{buildroot}%{_libexecdir}/rbd-nbd/rbd-nbd_quiesce
 
+%if 0%{with cephadm}
 install -m 0755 src/cephadm/cephadm %{buildroot}%{_sbindir}/cephadm
 mkdir -p %{buildroot}%{_sharedstatedir}/cephadm
 chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm
@@ -1430,6 +1434,7 @@ mkdir -p %{buildroot}%{_sharedstatedir}/cephadm/.ssh
 chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm/.ssh
 touch %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
 chmod 0600 %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
+%endif
 
 # firewall templates and /sbin/mount.ceph symlink
 %if 0%{?suse_version} && !0%{?usrmerged}
@@ -1567,23 +1572,29 @@ fi
 /sbin/ldconfig
 %systemd_postun ceph.target
 
+%if 0%{with cephadm}
 %pre -n cephadm
 getent group cephadm >/dev/null || groupadd -r cephadm
 getent passwd cephadm >/dev/null || useradd -r -g cephadm -s /bin/bash -c "cephadm user for mgr/cephadm" -d %{_sharedstatedir}/cephadm cephadm
 exit 0
+%endif
 
+%if 0%{with cephadm}
 %if ! 0%{?suse_version}
 %postun -n cephadm
 userdel -r cephadm || true
 exit 0
 %endif
+%endif
 
+%if 0%{with cephadm}
 %files -n cephadm
 %{_sbindir}/cephadm
 %{_mandir}/man8/cephadm.8*
 %attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm
 %attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm/.ssh
 %attr(0600,cephadm,cephadm) %{_sharedstatedir}/cephadm/.ssh/authorized_keys
+%endif
 
 %files common
 %dir %{_docdir}/ceph