From f28fc42d8296a87c4be1c2f572e0c238e80c9bd0 Mon Sep 17 00:00:00 2001
From: dirkmueller <>
Date: Apr 27 2023 18:56:31 +0000
Subject: Update python-installer to version 0.7.0 / rev 7 via SR 1083115


https://build.opensuse.org/request/show/1083115
by user dirkmueller + dimstar_suse
- build with any python3 interpreter installed in the buildenv

- Use python311 to build if sle15_python_module_pythons is defined.

- add sle15_python_module_pythons (jsc#PED-68)

---

diff --git a/.files b/.files
index 6a079a2..e4886d4 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index c762a26..e0b65e9 100644
--- a/.rev
+++ b/.rev
@@ -63,4 +63,16 @@
 - Only build the wheel once.</comment>
     <requestid>1074810</requestid>
   </revision>
+  <revision rev="7" vrev="2">
+    <srcmd5>f3a81fd9c6af38577e177d80423dc6aa</srcmd5>
+    <version>0.7.0</version>
+    <time>1682618397</time>
+    <user>dimstar_suse</user>
+    <comment>- build with any python3 interpreter installed in the buildenv 
+
+- Use python311 to build if sle15_python_module_pythons is defined.
+
+- add sle15_python_module_pythons (jsc#PED-68)</comment>
+    <requestid>1083115</requestid>
+  </revision>
 </revisionlist>
diff --git a/python-installer.changes b/python-installer.changes
index b1d028e..b8e08f6 100644
--- a/python-installer.changes
+++ b/python-installer.changes
@@ -1,4 +1,19 @@
 -------------------------------------------------------------------
+Wed Apr 26 20:44:18 UTC 2023 - Dirk Müller <dmueller@suse.com>
+
+- build with any python3 interpreter installed in the buildenv 
+
+-------------------------------------------------------------------
+Mon Apr 24 16:05:22 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
+
+- Use python311 to build if sle15_python_module_pythons is defined.
+
+-------------------------------------------------------------------
+Fri Apr 21 12:26:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+-------------------------------------------------------------------
 Tue Mar 28 03:51:53 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
 
 - Update to 0.7.0:
diff --git a/python-installer.spec b/python-installer.spec
index 09e4da0..f8424aa 100644
--- a/python-installer.spec
+++ b/python-installer.spec
@@ -24,6 +24,7 @@
 %define pkg_suffix %{nil}
 %bcond_with test
 %endif
+%{?sle15_python_module_pythons}
 Name:           python-installer%{pkg_suffix}
 Version:        0.7.0
 Release:        0
@@ -50,7 +51,10 @@ A library for installing Python wheels.
 
 %if !%{with test}
 %build
-python3 -m flit_core.wheel
+
+export apython3=$(find %_bindir -name 'python3*[0-9]' -print -quit)
+$apython3 -m flit_core.wheel
+
 %endif
 
 %if !%{with test}