ceph.spec.in: make cryptsetup a ceph-volume runtime dep.

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>
This commit is contained in:
Kefu Chai 2021-07-28 15:14:42 +08:00 committed by Kefu Chai
parent 8e0e9ef382
commit a4d9280c0c

View File

@ -181,7 +181,6 @@ BuildRequires: selinux-policy-devel
%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
@ -436,7 +435,6 @@ Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{with selinux}
Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release}
%endif
Requires: cryptsetup
Requires: e2fsprogs
Requires: findutils
Requires: grep
@ -827,6 +825,7 @@ BuildArch: noarch
Group: System/Filesystems
%endif
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
Requires: cryptsetup
Requires: lvm2
Requires: parted
Requires: python%{python3_pkgversion}-setuptools