Skip to contentSkip to conversation

rpm: BR: python for libmlx5

PATCH In review Jarod Wilson 2 participants 3 messages Mar 23, 2017 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpm: BR: python for libmlx5

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 <leonro-VPRAkNaXOzVWk0Htik3J/[email protected]>
---
 rdma-core.spec        | 1 +
 redhat/rdma-core.spec | 1 +
 2 files changed, 2 insertions(+)
rdma-core.spec +1 -0
index 3f6e73a0..6a280fe1 100644
@@ -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}
redhat/rdma-core.spec +1 -0
index 5f6ead42..6b56eae4 100644
@@ -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
Signature · 6 lines
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive
Quoted 10 lines · Jarod Wilson

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 <leonro-VPRAkNaXOzVWk0Htik3J/[email protected]>
 rdma-core.spec        | 1 +
 redhat/rdma-core.spec | 1 +
 2 files changed, 2 insertions(+)

I suspect we need to add python to debian/control as well, for the same reasons.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to a message not in the archive
Quoted 26 lines · Jarod Wilson

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 <leonro-VPRAkNaXOzVWk0Htik3J/[email protected]>
 rdma-core.spec        | 1 +
 redhat/rdma-core.spec | 1 +
 2 files changed, 2 insertions(+)
rdma-core.spec +2 -0
index 3f6e73a0..6a280fe1 100644
+++ 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}
redhat/rdma-core.spec +1 -0
index 5f6ead42..6b56eae4 100644
+++ b/redhat/rdma-core.spec

redhat/rdma-core.spec BuildRequires: pkgconfig(libnl-3.0) · line 26

Quoted 7 lines
redhat/rdma-core.spec +1 -0
@@ -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

I added the debian bit and bundled it here:

https://github.com/linux-rdma/rdma-core/pull/106

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html