]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: set rest-bench-dbg ceph-test-dbg dependencies 4773/head
authorKen Dreyer <kdreyer@redhat.com>
Mon, 18 May 2015 16:50:58 +0000 (10:50 -0600)
committerLoic Dachary <ldachary@redhat.com>
Tue, 26 May 2015 23:43:13 +0000 (01:43 +0200)
Debian's debug packages ought to depend on their respective binary
packages. This was the case for many of our ceph packages, but it was
not the case for ceph-test-dbg or rest-bench-dbg.

Add the dependencies on the relevant binary packages, pinned to
"= ${binary:Version}" per convention.

http://tracker.ceph.com/issues/11673 Fixes: #11673

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit f898ec1e4e3472b0202280f09653a769fc62c8d3)

debian/control

index 0960ff38fd95f5cf019153df2c580e8b286aa30f..9e1c1165f5ce4320537a1198fc9aac35afb63ad4 100644 (file)
@@ -451,7 +451,8 @@ Package: rest-bench-dbg
 Architecture: linux-any
 Section: debug
 Priority: extra
-Depends: ceph-common, curl, xml2, ${misc:Depends}, ${shlibs:Depends}
+Depends: rest-bench (= ${binary:Version}), ceph-common, curl, xml2,
+          ${misc:Depends}, ${shlibs:Depends}
 Description: debugging symbols for rest-bench
  radosgw performance.
  .
@@ -467,7 +468,8 @@ Package: ceph-test-dbg
 Architecture: linux-any
 Section: debug
 Priority: extra
-Depends: ceph-common, curl, xml2, ${misc:Depends}, ${shlibs:Depends}
+Depends: ceph-test (= ${binary:Version}), ceph-common, curl, xml2,
+         ${misc:Depends}, ${shlibs:Depends}
 Description: Ceph test and benchmarking tools
  .
  This package contains the debugging symbols for ceph-test.