mirror of
https://github.com/ceph/ceph
synced 2024-12-25 21:03:31 +00:00
rpm,deb: let immutable-object-cache depend on librados2
ceph-common depends on librados2, but ceph-immutable-object-cache only uses librados2's C++ API, so librados2 would suffice. rpmbuild is able to figure out the .so dependencies, and let ceph-immutable-object-cache depend on the package which offers librados2, but we'd better make sure immutable-object-cache is linked against the librados2 of the same version, to ensure that librados2 offers the correct C++ symbols. as we only version the C++ API in the librados2 after nautilus. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
c80d5aa693
commit
253385d4cc
@ -585,7 +585,7 @@ Summary: Ceph daemon for immutable object cache
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
%description immutable-object-cache
|
||||
Daemon for immutable object cache.
|
||||
|
||||
|
3
debian/control
vendored
3
debian/control
vendored
@ -427,8 +427,7 @@ Description: debugging symbols for rbd-fuse
|
||||
|
||||
Package: ceph-immutable-object-cache
|
||||
Architecture: linux-any
|
||||
Depends: ceph-common (= ${binary:Version}),
|
||||
librados2 (= ${binary:Version}),
|
||||
Depends: librados2 (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Description: Ceph daemon for immutable object cache
|
||||
|
Loading…
Reference in New Issue
Block a user