From patchwork Thu Mar 23 02:12:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarod Wilson X-Patchwork-Id: 9640371 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7240C6020B for ; Thu, 23 Mar 2017 02:12:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61B0F28452 for ; Thu, 23 Mar 2017 02:12:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 529B12847F; Thu, 23 Mar 2017 02:12:50 +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=-6.9 required=2.0 tests=BAYES_00,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 CCF5628452 for ; Thu, 23 Mar 2017 02:12:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754012AbdCWCMt (ORCPT ); Wed, 22 Mar 2017 22:12:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37574 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751333AbdCWCMt (ORCPT ); Wed, 22 Mar 2017 22:12:49 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3C99442BBB; Thu, 23 Mar 2017 02:12:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3C99442BBB Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jarod@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 3C99442BBB Received: from hp-dl360pgen8-07.khw.lab.eng.bos.redhat.com (hp-dl360pgen8-07.khw.lab.eng.bos.redhat.com [10.16.184.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id C0C6218201; Thu, 23 Mar 2017 02:12:48 +0000 (UTC) From: Jarod Wilson To: linux-rdma@vger.kernel.org Cc: Jarod Wilson , Leon Romanovsky Subject: [PATCH rdma-core] rpm: BR: python for libmlx5 Date: Wed, 22 Mar 2017 22:12:46 -0400 Message-Id: <20170323021246.35786-1-jarod@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 23 Mar 2017 02:12:49 +0000 (UTC) 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 relpath python script added in commit 07764bc805ba requires python to run, thus we must BuildRequires: python in the rpm spec files, or the build will fail in minimal environments (such as mock). Fixes: 07764bc805ba ("mlx5: Export mlx5 direct verbs interface") CC: Leon Romanovsky Signed-off-by: Jarod Wilson --- rdma-core.spec | 1 + redhat/rdma-core.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/rdma-core.spec b/rdma-core.spec index 3f6e73a0..6a280fe1 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -19,6 +19,7 @@ BuildRequires: pkgconfig BuildRequires: pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libnl-route-3.0) BuildRequires: valgrind-devel +BuildRequires: python # Since we recommend developers use Ninja, so should packagers, for consistency. %define CMAKE_FLAGS %{nil} diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec index 5f6ead42..6b56eae4 100644 --- a/redhat/rdma-core.spec +++ b/redhat/rdma-core.spec @@ -20,6 +20,7 @@ BuildRequires: pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libnl-route-3.0) BuildRequires: valgrind-devel BuildRequires: systemd +BuildRequires: python Requires: dracut, kmod, systemd # Red Hat/Fedora previously shipped redhat/ as a stand-alone