* [PATCH] redhat: BuildRequires python3
@ 2019-09-16 1:33 Honggang LI
2019-09-24 8:12 ` Leon Romanovsky
0 siblings, 1 reply; 2+ messages in thread
From: Honggang LI @ 2019-09-16 1:33 UTC (permalink / raw)
To: linux-rdma; +Cc: Honggang Li
From: Honggang Li <honli@redhat.com>
python2 is obsoleted by python3 in RHEL8 and Fedora-30.
Signed-off-by: Honggang Li <honli@redhat.com>
---
redhat/rdma-core.spec | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec
index f07919cc..731a4e10 100644
--- a/redhat/rdma-core.spec
+++ b/redhat/rdma-core.spec
@@ -29,8 +29,12 @@ BuildRequires: systemd-devel
BuildRequires: python3-devel
BuildRequires: python3-Cython
%else
+%if 0%{?rhel} == 8 || 0%{?fedora} >= 30
+BuildRequires: python3
+%else
BuildRequires: python
%endif
+%endif
%if 0%{?fedora} >= 21
BuildRequires: perl-generators
%endif
--
2.21.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] redhat: BuildRequires python3
2019-09-16 1:33 [PATCH] redhat: BuildRequires python3 Honggang LI
@ 2019-09-24 8:12 ` Leon Romanovsky
0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2019-09-24 8:12 UTC (permalink / raw)
To: Honggang LI; +Cc: linux-rdma
On Mon, Sep 16, 2019 at 09:33:45AM +0800, Honggang LI wrote:
> From: Honggang Li <honli@redhat.com>
>
> python2 is obsoleted by python3 in RHEL8 and Fedora-30.
>
> Signed-off-by: Honggang Li <honli@redhat.com>
> ---
> redhat/rdma-core.spec | 4 ++++
> 1 file changed, 4 insertions(+)
>
Queued, https://github.com/linux-rdma/rdma-core/pull/585
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-24 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-16 1:33 [PATCH] redhat: BuildRequires python3 Honggang LI
2019-09-24 8:12 ` Leon Romanovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).