mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0090-RHEL-8-use-platform-python.patch

da373f
From cb6f386f75f210bdc97133a026e2fdb29a2fe28d Mon Sep 17 00:00:00 2001
3efd08
From: Pino Toscano <ptoscano@redhat.com>
3efd08
Date: Sun, 16 Dec 2018 16:42:46 +0100
3efd08
Subject: [PATCH] RHEL 8: use platform-python
3efd08
3efd08
Use the stable platform-python provided in BaseOS, instead of relying on
3efd08
some arbitrary version installed by the user.
3efd08
---
3efd08
 v2v/python_script.ml | 2 +-
3efd08
 1 file changed, 1 insertion(+), 1 deletion(-)
3efd08
3efd08
diff --git a/v2v/python_script.ml b/v2v/python_script.ml
3efd08
index 3159373a1..f2c00c40f 100644
3efd08
--- a/v2v/python_script.ml
3efd08
+++ b/v2v/python_script.ml
3efd08
@@ -24,7 +24,7 @@ open Unix_utils
3efd08
 
3efd08
 open Common_gettext.Gettext
3efd08
 
3efd08
-let python = "python3"          (* Defined by PEP 394 *)
3efd08
+let python = "/usr/libexec/platform-python"
3efd08
 
3efd08
 type script = {
3efd08
   tmpdir : string;              (* Temporary directory. *)
3efd08
-- 
da373f
2.18.4
3efd08