Accepting request 1087364 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible
- modify %if-condition to allow building for python3.10 or python3.11 on SLES15 - change python version on Leap15/SLES15 to python3.11 to use the new stack supported by SUSE OBS-URL: https://build.opensuse.org/request/show/1087364 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible?expand=0&rev=15
This commit is contained in:
parent
1588359c9b
commit
a35a670990
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 14 19:10:10 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- modify %if-condition to allow building for python3.10 or
|
||||
python3.11 on SLES15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 07:12:35 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- 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 <kastl@b1-systems.de>
|
||||
|
||||
|
10
ansible.spec
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user