diff mbox

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

Message ID 5d515246-0d12-d1a8-eb62-d4a027fa67df@suse.de (mailing list archive)
State Accepted
Headers show

Commit Message

Nicolas Morey-Chaisemartin Nov. 13, 2017, 1 p.m. UTC
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@suse.com>
---
 buildlib/cbuild     | 2 +-
 suse/rdma-core.spec | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

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