From: Nadav Har'El <[email protected]>
Committer: Nadav Har'El <[email protected]>
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 <[email protected]>

---
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',

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/0000000000006d6df3059f515afa%40google.com.

Reply via email to