mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

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