From patchwork Tue Nov 20 11:10:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Drung X-Patchwork-Id: 10690279 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B4B581869 for ; Tue, 20 Nov 2018 11:16:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7857295C3 for ; Tue, 20 Nov 2018 11:16:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B9A229A89; Tue, 20 Nov 2018 11:16:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 791D629A18 for ; Tue, 20 Nov 2018 11:16:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728678AbeKTVp3 (ORCPT ); Tue, 20 Nov 2018 16:45:29 -0500 Received: from mx1.ionos.com ([46.16.72.21]:41018 "EHLO mx1.ionos.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726695AbeKTVp3 (ORCPT ); Tue, 20 Nov 2018 16:45:29 -0500 Received: from mail.pb.local (mail.pb.local [192.168.178.100]) by mx1.ionos.com (Postfix) with ESMTP id 47C045F996 for ; Tue, 20 Nov 2018 11:10:28 +0000 (UTC) Received: from konstrukt.pb.local (konstrukt.pb.local [192.168.88.20]) by mail.pb.local (Postfix) with SMTP id 8C8EC3FF30; Tue, 20 Nov 2018 12:10:15 +0100 (CET) Received: (nullmailer pid 17925 invoked by uid 1000); Tue, 20 Nov 2018 11:10:15 -0000 From: Benjamin Drung To: linux-rdma@vger.kernel.org Cc: Benjamin Drung Subject: [PATCH rdma-core 3/5] debian: Specify Build-Depends-Package in symbols Date: Tue, 20 Nov 2018 12:10:04 +0100 Message-Id: <20181120111006.16643-4-benjamin.drung@cloud.ionos.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181120111006.16643-1-benjamin.drung@cloud.ionos.com> References: <20181120111006.16643-1-benjamin.drung@cloud.ionos.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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