olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-python3.patch

077c9d
Use python3 for installed executable python scripts.
077c9d
077c9d
Fedora is a Python3-only distribution:
077c9d
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
077c9d
077c9d
This fixes build failures where builders may strictly enforce only
077c9d
python3 during a transitional phase.
077c9d
077c9d
Author: Carlos O'Donell <carlos@redhat.com>
077c9d
077c9d
diff --git a/benchtests/scripts/compare_bench.py b/benchtests/scripts/compare_bench.py
077c9d
index ea25f778c09bba9d..b53beb3c6e32c3cf 100755
077c9d
--- a/benchtests/scripts/compare_bench.py
077c9d
+++ b/benchtests/scripts/compare_bench.py
077c9d
@@ -1,4 +1,4 @@
077c9d
-#!/usr/bin/python
077c9d
+#!/usr/bin/python3
077c9d
 # Copyright (C) 2015-2018 Free Software Foundation, Inc.
077c9d
 # This file is part of the GNU C Library.
077c9d
 #
077c9d
diff --git a/benchtests/scripts/import_bench.py b/benchtests/scripts/import_bench.py
077c9d
index 602b3f954d4801a6..76bf1528a5418748 100644
077c9d
--- a/benchtests/scripts/import_bench.py
077c9d
+++ b/benchtests/scripts/import_bench.py
077c9d
@@ -1,4 +1,4 @@
077c9d
-#!/usr/bin/python
077c9d
+#!/usr/bin/python3
077c9d
 # Copyright (C) 2015-2018 Free Software Foundation, Inc.
077c9d
 # This file is part of the GNU C Library.
077c9d
 #
077c9d
diff --git a/benchtests/scripts/validate_benchout.py b/benchtests/scripts/validate_benchout.py
077c9d
index 6147f05bec3a4844..9a5c7947ee4ed7e9 100755
077c9d
--- a/benchtests/scripts/validate_benchout.py
077c9d
+++ b/benchtests/scripts/validate_benchout.py
077c9d
@@ -1,4 +1,4 @@
077c9d
-#!/usr/bin/python
077c9d
+#!/usr/bin/python3
077c9d
 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
077c9d
 # This file is part of the GNU C Library.
077c9d
 #