]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: make cryptsetup a ceph-volume runtime dep.
authorKefu Chai <kchai@redhat.com>
Wed, 28 Jul 2021 07:14:42 +0000 (15:14 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 14 Sep 2021 15:25:19 +0000 (23:25 +0800)
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>
ceph.spec.in

index 6ae89d9a4c140b42a94da5e1ccb8739b2864e2bc..845da95948a0ece41d4d2b12c0b39eb66ff46ce0 100644 (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