From: Kefu Chai Date: Wed, 28 Jul 2021 07:14:42 +0000 (+0800) Subject: ceph.spec.in: make cryptsetup a ceph-volume runtime dep. X-Git-Tag: v17.1.0~879^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a4d9280c0c57ab7c9dba6f1a1d47ccf2f5dedf6d;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 6ae89d9a4c140..845da95948a0e 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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