File python3.patch of Package libpfm
--- libpfm-4.11.0/python/self.py.orig 2022-03-03 10:05:11.040157000 -0800
+++ libpfm-4.11.0/python/self.py 2022-03-03 10:05:18.912198000 -0800
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
#
# Copyright (c) 2008 Google, Inc.
# Contributed by Arun Sharma <arun.sharma@google.com>
--- libpfm-4.11.0/python/setup.py.orig 2022-03-03 10:05:11.045180000 -0800
+++ libpfm-4.11.0/python/setup.py 2022-03-03 10:05:23.891216000 -0800
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
from distutils.core import setup, Extension
from distutils.command.install_data import install_data
--- libpfm-4.11.0/python/sys.py.orig 2022-03-03 10:05:11.051156000 -0800
+++ libpfm-4.11.0/python/sys.py 2022-03-03 10:05:35.840190000 -0800
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
#
# Copyright (c) 2008 Google, Inc.
# Contributed by Arun Sharma <arun.sharma@google.com>