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

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