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

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