From patchwork Wed Dec 21 22:08:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarod Wilson X-Patchwork-Id: 9483837 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 E8505601D2 for ; Wed, 21 Dec 2016 22:08:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB31C28497 for ; Wed, 21 Dec 2016 22:08:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D01C92849B; Wed, 21 Dec 2016 22:08:51 +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 7E0C628497 for ; Wed, 21 Dec 2016 22:08:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754344AbcLUWIu (ORCPT ); Wed, 21 Dec 2016 17:08:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37410 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750745AbcLUWIt (ORCPT ); Wed, 21 Dec 2016 17:08:49 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BE2E97F3E1 for ; Wed, 21 Dec 2016 22:08:48 +0000 (UTC) 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 int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uBLM8kqo029937; Wed, 21 Dec 2016 17:08:48 -0500 From: Jarod Wilson To: linux-rdma@vger.kernel.org Cc: Jarod Wilson Subject: [PATCH rdma-core 3/6] redhat/spec: use fully versioned Requires on base package Date: Wed, 21 Dec 2016 17:08:37 -0500 Message-Id: <20161221220840.36268-4-jarod@redhat.com> In-Reply-To: <20161221220840.36268-1-jarod@redhat.com> References: <20161221220840.36268-1-jarod@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 21 Dec 2016 22:08:48 +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 Fedora packaging guidelines spell this at as an explicit requirement. Signed-off-by: Jarod Wilson --- redhat/rdma-core.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec index f9ebad1..42d624b 100644 --- a/redhat/rdma-core.spec +++ b/redhat/rdma-core.spec @@ -66,7 +66,7 @@ RDMA core development libraries and headers. Summary: A library and drivers for direct userspace use of RDMA (InfiniBand/iWARP) hardware Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig -Requires: rdma-core +Requires: %{name}%{?_isa} = %{version}-%{release} Provides: libcxgb3 = %{version}-%{release} Obsoletes: libcxgb3 < %{version}-%{release} Provides: libcxgb4 = %{version}-%{release} @@ -124,7 +124,7 @@ Summary: InfiniBand Communication Manager Assistant Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units -Requires: rdma-core +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n ibacm The ibacm daemon helps reduce the load of managing path record lookups on @@ -141,7 +141,7 @@ Summary: iWarp Port Mapper userspace daemon Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units -Requires: rdma-core +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n iwpmd iwpmd provides a userspace service for iWarp drivers to claim @@ -150,7 +150,7 @@ tcp ports through the standard socket interface. %package -n libibcm Summary: Userspace InfiniBand Connection Manager ExcludeArch: s390 s390x -Requires: rdma-core +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n libibcm libibcm provides a userspace library that handles the majority of the low @@ -158,7 +158,7 @@ level work required to open an RDMA connection between two machines. %package -n libibumad Summary: OpenFabrics Alliance InfiniBand umad (userspace management datagram) library -Requires: rdma-core +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n libibumad libibumad provides the userspace management datagram (umad) library @@ -167,7 +167,7 @@ are used by the IB diagnostic and management tools, including OpenSM. %package -n librdmacm Summary: Userspace RDMA Connection Manager -Requires: rdma-core +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n librdmacm librdmacm provides a userspace RDMA Communication Managment API. @@ -187,7 +187,7 @@ Obsoletes: openib-srptools <= 0.0.6 Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units -Requires: rdma-core +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n srp_daemon In conjunction with the kernel ib_srp driver, srp_daemon allows you to