All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarod Wilson <jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Jarod Wilson <jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH rdma-core 3/6] redhat/spec: use fully versioned Requires on base package
Date: Wed, 21 Dec 2016 17:08:37 -0500	[thread overview]
Message-ID: <20161221220840.36268-4-jarod@redhat.com> (raw)
In-Reply-To: <20161221220840.36268-1-jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

Fedora packaging guidelines spell this at as an explicit requirement.

Signed-off-by: Jarod Wilson <jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
 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
-- 
2.10.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-12-21 22:08 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-21 22:08 [PATCH rdma-core 0/6] redhat/spec: various fixes and cleanups Jarod Wilson
     [not found] ` <20161221220840.36268-1-jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-21 22:08   ` [PATCH rdma-core 1/6] redhat/spec: call it srp_daemon in desc, not srptools Jarod Wilson
2016-12-21 22:08   ` [PATCH rdma-core 2/6] redhat/spec: improve base package description Jarod Wilson
2016-12-21 22:08   ` Jarod Wilson [this message]
2016-12-21 22:08   ` [PATCH rdma-core 4/6] redhat/spec: fix up %post scriptlets Jarod Wilson
2016-12-21 22:08   ` [PATCH rdma-core 5/6] redhat/spec: clean up rsocket packaging Jarod Wilson
     [not found]     ` <20161221220840.36268-6-jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22  7:17       ` Jarod Wilson
     [not found]         ` <140dc3aa-6088-c4cf-5a8a-1a0426f55cd3-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 17:33           ` Jason Gunthorpe
     [not found]             ` <20161222173302.GA29518-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-12-22 18:15               ` Doug Ledford
     [not found]                 ` <74c5651b-4125-0a7a-3184-d510814cdc0d-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 18:22                   ` Jason Gunthorpe
2016-12-22 18:23                   ` Jarod Wilson
     [not found]                     ` <5f0f6060-deb4-da27-c6a0-12d1ede4ca2b-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 18:28                       ` Doug Ledford
2016-12-21 22:08   ` [PATCH rdma-core 6/6] redhat/spec: make sure docdir is owned Jarod Wilson
2016-12-21 23:40   ` [PATCH rdma-core 0/6] redhat/spec: various fixes and cleanups Jason Gunthorpe
     [not found]     ` <20161221234014.GA13538-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-12-22  7:32       ` Jarod Wilson
     [not found]         ` <0d77c962-607b-1e05-4fbf-41195446128d-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 17:38           ` Jason Gunthorpe
     [not found]             ` <20161222173807.GA15461-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-12-22 18:17               ` Doug Ledford
     [not found]                 ` <e300b2ab-c963-d755-895d-29c8a6dbdc94-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 20:28                   ` Jason Gunthorpe
     [not found]                     ` <20161222202832.GA10732-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-12-22 21:38                       ` Doug Ledford
2016-12-22 16:53   ` Doug Ledford
     [not found]     ` <fe84ce7a-dd7f-1b63-ac84-5a0ed5f3bcea-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 17:06       ` Jarod Wilson
2016-12-22 18:03       ` Jarod Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161221220840.36268-4-jarod@redhat.com \
    --to=jarod-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.