Blame SOURCES/platform-python.patch

e965a0
diff -u a/src/python/daemonize.py b/src/python/daemonize.py
e965a0
--- a/src/python/daemonize.py
e965a0
+++ b/src/python/daemonize.py
e965a0
@@ -1,4 +1,4 @@
e965a0
-#!/usr/bin/python3
e965a0
+#!/usr/libexec/platform-python
e965a0
e965a0
 # Authors:  Jiri Jaburek  <jjaburek@redhat.com>
e965a0
 #
e965a0
diff -u a/src/python/journal-compare.py b/src/python/journal-compare.py
e965a0
--- a/src/python/journal-compare.py
e965a0
+++ b/src/python/journal-compare.py
e965a0
@@ -1,4 +1,4 @@
e965a0
-#!/usr/bin/python3
e965a0
+#!/usr/libexec/platform-python
e965a0
e965a0
 # Copyright (c) 2006 Red Hat, Inc. All rights reserved. This copyrighted material
e965a0
 # is made available to anyone wishing to use, modify, copy, or
e965a0
diff -u a/src/python/journalling.py b/src/python/journalling.py
e965a0
--- a/src/python/journalling.py
e965a0
+++ b/src/python/journalling.py
e965a0
@@ -1,4 +1,4 @@
e965a0
-#!/usr/bin/python3
e965a0
+#!/usr/libexec/platform-python
e965a0
e965a0
 # Authors:  Jakub Heger        <jheger@redhat.com>
e965a0
 #           Dalibor Pospisil   <dapospis@redhat.com>
e965a0
diff -u a/src/python/rlMemAvg.py b/src/python/rlMemAvg.py
e965a0
--- a/src/python/rlMemAvg.py
e965a0
+++ b/src/python/rlMemAvg.py
e965a0
@@ -1,4 +1,4 @@
e965a0
-#!/usr/bin/python3
e965a0
+#!/usr/libexec/platform-python
e965a0
e965a0
 # Authors:  Petr Muller     <pmuller@redhat.com>
e965a0
 #
e965a0
diff -u a/src/python/rlMemPeak.py b/src/python/rlMemPeak.py
e965a0
--- a/src/python/rlMemPeak.py
e965a0
+++ b/src/python/rlMemPeak.py
e965a0
@@ -1,4 +1,4 @@
e965a0
-#!/usr/bin/python3
e965a0
+#!/usr/libexec/platform-python
e965a0
e965a0
 # Authors:  Petr Muller     <pmuller@redhat.com>
e965a0
 #
e965a0
diff -u a/src/python/testwatcher.py b/src/python/testwatcher.py
e965a0
--- a/src/python/testwatcher.py
e965a0
+++ b/src/python/testwatcher.py
e965a0
@@ -1,4 +1,4 @@
e965a0
-#!/usr/bin/python3
e965a0
+#!/usr/libexec/platform-python
e965a0
 #
e965a0
 # Authors:  Jiri Jaburek    <jjaburek@redhat.com>
e965a0
 #
e965a0
diff -u a/src/journal.sh b/src/journal.sh
e965a0
--- a/src/journal.sh
e965a0
+++ b/src/journal.sh
e965a0
@@ -285,7 +285,7 @@
e965a0
 __INTERNAL_JournalXMLCreate() {
e965a0
     local res=0
e965a0
     [[ "$BEAKERLIB_JOURNAL" == "0" ]] || {
e965a0
-      if which python &> /dev/null; then
e965a0
+      if which /usr/libexec/platform-python &> /dev/null; then
e965a0
         $__INTERNAL_JOURNALIST $__INTERNAL_XSLT --metafile \
e965a0
           "$__INTERNAL_BEAKERLIB_METAFILE" --journal "$__INTERNAL_BEAKERLIB_JOURNAL"
e965a0
         res=$?