[PATCH rdma-core 2/2] suse: use python3 by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tumbleweed is to drop older python versions to switch to python3.
Add python3 to the build setup and BuildRequires.

Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@xxxxxxxx>
---
 buildlib/cbuild     | 2 +-
 suse/rdma-core.spec | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/buildlib/cbuild b/buildlib/cbuild
index 32bb70df..97703e01 100755
--- a/buildlib/cbuild
+++ b/buildlib/cbuild
@@ -309,7 +309,7 @@ class leap(ZypperEnvironment):
         'make',
         'ninja',
         'pkg-config',
-        'python',
+        'python3',
         'rpm-build',
         'systemd-devel',
         'valgrind-devel',
diff --git a/suse/rdma-core.spec b/suse/rdma-core.spec
index 4f3638f3..b6de096a 100644
--- a/suse/rdma-core.spec
+++ b/suse/rdma-core.spec
@@ -58,6 +58,7 @@ BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
+BuildRequires:  python3-base
 %ifnarch s390 s390x
 BuildRequires:  valgrind-devel
 %endif
-- 
2.15.0.167.g7819e496d

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux