File python.patch of Package libei

Index: libei-1.3.0/proto/meson.build
===================================================================
--- libei-1.3.0.orig/proto/meson.build
+++ libei-1.3.0/proto/meson.build
@@ -14,7 +14,7 @@ endif
 
 pymod = import('python')
 required_python_modules = ['attr', 'jinja2']
-python = pymod.find_installation('python3', modules: required_python_modules)
+python = pymod.find_installation('python3.11', modules: required_python_modules)
 if python.language_version().version_compare('<3.9')
     error('Python 3.9 or later required')
 endif
Index: libei-1.3.0/proto/ei-scanner
===================================================================
--- libei-1.3.0.orig/proto/ei-scanner
+++ libei-1.3.0/proto/ei-scanner
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python3.11
 #
 # SPDX-License-Identifier: MIT
 
Index: libei-1.3.0/test/eiproto.py.tmpl
===================================================================
--- libei-1.3.0.orig/test/eiproto.py.tmpl
+++ libei-1.3.0/test/eiproto.py.tmpl
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python3.11
 #
 # GENERATED FILE, DO NOT EDIT
 #
Index: libei-1.3.0/test/test_oeffis.py
===================================================================
--- libei-1.3.0.orig/test/test_oeffis.py
+++ libei-1.3.0/test/test_oeffis.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python3.11
 #
 # SPDX-License-Identifier: MIT
 #
Index: libei-1.3.0/test/test_protocol.py
===================================================================
--- libei-1.3.0.orig/test/test_protocol.py
+++ libei-1.3.0/test/test_protocol.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/python3.11
 #
 # SPDX-License-Identifier: MIT
 #
Index: libei-1.3.0/test/test_scanner.py
===================================================================
--- libei-1.3.0.orig/test/test_scanner.py
+++ libei-1.3.0/test/test_scanner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python3.11
 
 # We can't import ei-scanner, so let's go via this route. The proper
 # handling would be to have ei-scanner be the entry point for a ei_scanner
openSUSE Build Service is sponsored by