From cac0f5802a78a4dc2a97b5a2fbc4168ae118a550 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 8 Nov 2018 07:00:21 -0800 Subject: [PATCH] rpm,deb: libradospp1-dev should depend on librados-dev because librados.hpp `#include`s librados.h Signed-off-by: Kefu Chai --- ceph.spec.in | 1 + debian/control | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index ab90027bcba80..3ab90a1f7c75c 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -578,6 +578,7 @@ Summary: RADOS headers Group: Development/Libraries/C and C++ %endif Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release} +Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} %description -n libradospp-devel This package contains C++ libraries and headers needed to develop programs that use RADOS object store. diff --git a/debian/control b/debian/control index 55b0734687374..a0eddbe0998a0 100644 --- a/debian/control +++ b/debian/control @@ -531,7 +531,8 @@ Description: debugging symbols for libradospp1 Package: libradospp-dev Architecture: linux-any Section: libdevel -Depends: libradospp1 (= ${binary:Version}), +Depends: librados-dev (= ${binary:Version}), + libradospp1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, Description: RADOS distributed object store client C++ library (development files) -- 2.39.5