diff mbox series

[rdma-core,6/6] debian: Specify Build-Depends-Package for libmlx5.so.1

Message ID 20181221183157.12444-7-benjamin.drung@cloud.ionos.com (mailing list archive)
State Accepted
Headers show
Series Fix Debian packaging | expand

Commit Message

Benjamin Drung Dec. 21, 2018, 6:31 p.m. UTC
The symbols file for libmlx5.so.1 does not contain a
Build-Depends-Package meta-information field.

This field specifies the name of the -dev package associated to the
library and is used by dpkg-shlibdeps(1) to make sure that the
dependency generated is at least as strict as the corresponding build
dependency.

This is useful as allows packages to not hardcode this information
multiple times.

Refer to the deb-symbols(5) manual page and the dpkg-shlibdeps(1) manual
page for details.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
---
 debian/ibverbs-providers.symbols | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/debian/ibverbs-providers.symbols b/debian/ibverbs-providers.symbols
index c7804c50..4a8e60b1 100644
--- a/debian/ibverbs-providers.symbols
+++ b/debian/ibverbs-providers.symbols
@@ -6,6 +6,7 @@  libmlx4.so.1 ibverbs-providers #MINVER#
  mlx4dv_create_qp@MLX4_1.0 15
  mlx4dv_set_context_attr@MLX4_1.0 15
 libmlx5.so.1 ibverbs-providers #MINVER#
+* Build-Depends-Package: libibverbs-dev
  MLX5_1.0@MLX5_1.0 13
  MLX5_1.1@MLX5_1.1 14
  MLX5_1.2@MLX5_1.2 15