tuliom / rpms / glibc

Forked from rpms/glibc 2 years ago
Clone
71cb283
Use python3 for installed executable python scripts.
71cb283
71cb283
Fedora is a Python3-only distribution:
71cb283
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
71cb283
71cb283
This fixes build failures where builders may strictly enforce only
71cb283
python3 during a transitional phase.
71cb283
71cb283
Author: Carlos O'Donell <carlos@redhat.com>
71cb283
514d626
71cb283
diff --git a/benchtests/scripts/compare_bench.py b/benchtests/scripts/compare_bench.py
514d626
index a85ca3a38be1fdeb..9f1ea9d85f4b833a 100755
71cb283
--- a/benchtests/scripts/compare_bench.py
71cb283
+++ b/benchtests/scripts/compare_bench.py
71cb283
@@ -1,4 +1,4 @@
71cb283
-#!/usr/bin/python
71cb283
+#!/usr/bin/python3
514d626
 # Copyright (C) 2015-2022 Free Software Foundation, Inc.
71cb283
 # This file is part of the GNU C Library.
71cb283
 #
71cb283
diff --git a/benchtests/scripts/import_bench.py b/benchtests/scripts/import_bench.py
514d626
index d8bdde7753885a4d..698c4ff81b13f697 100644
71cb283
--- a/benchtests/scripts/import_bench.py
71cb283
+++ b/benchtests/scripts/import_bench.py
71cb283
@@ -1,4 +1,4 @@
71cb283
-#!/usr/bin/python
71cb283
+#!/usr/bin/python3
514d626
 # Copyright (C) 2015-2022 Free Software Foundation, Inc.
71cb283
 # This file is part of the GNU C Library.
71cb283
 #