[COMMIT osv master] scripts/setup.py: fix Fedora package to python3

4 views
Skip to first unread message

Commit Bot

unread,
Feb 24, 2020, 7:17:23 AM2/24/20
to osv...@googlegroups.com, Nadav Har'El
From: Nadav Har'El <n...@scylladb.com>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master

scripts/setup.py: fix Fedora package to python3

In Fedora, the "python-*" packages may refer to Python2, so we need to
install the "python3-*" packages specifically, now that our scripts
require Python3.

This patch fixes build failures on Fedora 29 and Fedora 30.

Debian/Ubuntu setups may need similar fixes, but I didn't test them and
a fix is not included in this patch.

Signed-off-by: Nadav Har'El <n...@scylladb.com>

---
diff --git a/scripts/setup.py b/scripts/setup.py
--- a/scripts/setup.py
+++ b/scripts/setup.py
@@ -51,7 +51,7 @@ class Fedora(object):
'openssl-libs',
'p11-kit',
'patch',
- 'python-dpkt',
+ 'python3-dpkt',
'qemu-img',
'qemu-system-x86',
'tcpdump',
Reply all
Reply to author
Forward
0 new messages