cryptsetup is solely used by ceph-volume, so it should be a runtime
dependency of ceph-volume, not ceph-base.
and remove it fomr build-dependency list, as we don't use this tool when
building ceph.
Signed-off-by: Kefu Chai <kchai@redhat.com>
%endif
BuildRequires: gperf
BuildRequires: cmake > 3.5
-BuildRequires: cryptsetup
BuildRequires: fuse-devel
%if 0%{with seastar} && 0%{?rhel}
BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3
%if 0%{with selinux}
Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release}
%endif
-Requires: cryptsetup
Requires: e2fsprogs
Requires: findutils
Requires: grep
Group: System/Filesystems
%endif
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
+Requires: cryptsetup
Requires: lvm2
Requires: parted
Requires: python%{python3_pkgversion}-setuptools