Accepting request 1039223 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible

- rework spec file to define %pythons to python310 for Leap15 and SLES15,
  using the python version 3.10 that ansible is built against
- add explicit Requires for python*-subprocess-tee, that is not being added
  automatically

OBS-URL: https://build.opensuse.org/request/show/1039223
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/python-ansible-compat?expand=0&rev=7
This commit is contained in:
Johannes Kastl 2022-12-02 07:55:10 +00:00 committed by Git OBS Bridge
parent 45e1303eaa
commit 822fad1e26
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Nov 25 07:12:13 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
- rework spec file to define %pythons to python310 for Leap15 and SLES15,
using the python version 3.10 that ansible is built against
- add explicit Requires for python*-subprocess-tee, that is not being added
automatically
-------------------------------------------------------------------
Fri Nov 18 06:37:34 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -16,8 +16,15 @@
#
%if 0%{?suse_version} < 1550
# Leap15, SLES15
%define pythons python310
%else
# Tumbleweed
# only works with the python version which the package 'ansible' uses
%define pythons python3
%endif
Name: python-ansible-compat
Version: 2.2.5
Release: 0
@ -43,6 +50,7 @@ BuildRequires: ansible
BuildRequires: fdupes
BuildRequires: python-rpm-generators
%{?python_enable_dependency_generator}
Requires: python-subprocess-tee
BuildArch: noarch
%python_subpackages