From 6e2ccfc19f7dc2c36dcc0b0505ca1328102b611f Mon Sep 17 00:00:00 2001
From: factory-maintainer <>
Date: May 22 2023 11:22:18 +0000
Subject: Update ansible to version 7.5.0 / rev 96 via SR 1088153
https://build.opensuse.org/request/show/1088153
by user factory-maintainer + dimstar_suse
Automatic submission by obs-autosubmit
---
diff --git a/.files b/.files
index 4923e07..63b9d55 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 8a61f08..14234af 100644
--- a/.rev
+++ b/.rev
@@ -995,4 +995,12 @@ numbers for further reference.
1083031
+
+ f894565a613ee29260177cb5e4082b05
+ 7.5.0
+
+ dimstar_suse
+ Automatic submission by obs-autosubmit
+ 1088153
+
diff --git a/ansible.changes b/ansible.changes
index 3cd29fd..79c6bd0 100644
--- a/ansible.changes
+++ b/ansible.changes
@@ -1,4 +1,16 @@
-------------------------------------------------------------------
+Sun May 14 19:10:10 UTC 2023 - Johannes Kastl
+
+- modify %if-condition to allow building for python3.10 or
+ python3.11 on SLES15
+
+-------------------------------------------------------------------
+Fri May 5 07:12:35 UTC 2023 - Johannes Kastl
+
+- change python version on Leap15/SLES15 to python3.11 to use the
+ new stack supported by SUSE
+
+-------------------------------------------------------------------
Wed Apr 26 12:00:09 UTC 2023 - Johannes Kastl
- update to 7.5.0:
diff --git a/ansible.spec b/ansible.spec
index 4ef217b..924a015 100644
--- a/ansible.spec
+++ b/ansible.spec
@@ -15,12 +15,20 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
+%{?sle15_python_module_pythons}
%if 0%{?suse_version} < 1550
# Leap15, SLES15
-%define pythons python310
+%if %pythons == "python310"
%define ansible_python python310
%define ansible_python_executable python3.10
%define ansible_python_sitelib %python310_sitelib
+%endif
+%if %pythons == "python311"
+%define ansible_python python311
+%define ansible_python_executable python3.11
+%define ansible_python_sitelib %python311_sitelib
+%endif
%else
# Tumbleweed
%define pythons python3