[PATCH rdma-core 3/5] debian: Specify Build-Depends-Package in symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The symbols file 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@xxxxxxxxxxxxxxx>
---
 debian/ibverbs-providers.symbols | 1 +
 debian/libibumad3.symbols        | 1 +
 debian/libibverbs1.symbols       | 1 +
 debian/librdmacm1.symbols        | 1 +
 4 files changed, 4 insertions(+)

diff --git a/debian/ibverbs-providers.symbols b/debian/ibverbs-providers.symbols
index 38045e49..36582f56 100644
--- a/debian/ibverbs-providers.symbols
+++ b/debian/ibverbs-providers.symbols
@@ -1,4 +1,5 @@
 libmlx4.so.1 ibverbs-providers #MINVER#
+* Build-Depends-Package: libibverbs-dev
  MLX4_1.0@MLX4_1.0 15
  mlx4dv_init_obj@MLX4_1.0 15
  mlx4dv_query_device@MLX4_1.0 15
diff --git a/debian/libibumad3.symbols b/debian/libibumad3.symbols
index 267ded36..31a749fd 100644
--- a/debian/libibumad3.symbols
+++ b/debian/libibumad3.symbols
@@ -1,4 +1,5 @@
 libibumad.so.3 libibumad3 #MINVER#
+* Build-Depends-Package: libibumad-dev
  IBUMAD_1.0@IBUMAD_1.0 1.3.9
  umad_addr_dump@IBUMAD_1.0 1.3.9
  umad_attribute_str@IBUMAD_1.0 1.3.10.2
diff --git a/debian/libibverbs1.symbols b/debian/libibverbs1.symbols
index f79fe80e..643435ad 100644
--- a/debian/libibverbs1.symbols
+++ b/debian/libibverbs1.symbols
@@ -1,4 +1,5 @@
 libibverbs.so.1 libibverbs1 #MINVER#
+* Build-Depends-Package: libibverbs-dev
  IBVERBS_1.0@IBVERBS_1.0 1.1.6
  IBVERBS_1.1@IBVERBS_1.1 1.1.6
  IBVERBS_1.5@IBVERBS_1.5 20
diff --git a/debian/librdmacm1.symbols b/debian/librdmacm1.symbols
index 7d7d5924..0fea2656 100644
--- a/debian/librdmacm1.symbols
+++ b/debian/librdmacm1.symbols
@@ -1,4 +1,5 @@
 librdmacm.so.1 librdmacm1 #MINVER#
+* Build-Depends-Package: librdmacm-dev
  RDMACM_1.0@RDMACM_1.0 1.0.15
  RDMACM_1.1@RDMACM_1.1 16
  raccept@RDMACM_1.0 1.0.16
-- 
2.17.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux