diff --git a/python-ansible-compat.changes b/python-ansible-compat.changes index cafbf9a..e404661 100644 --- a/python-ansible-compat.changes +++ b/python-ansible-compat.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 25 07:12:13 UTC 2022 - Johannes Kastl + +- 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 diff --git a/python-ansible-compat.spec b/python-ansible-compat.spec index 199d1a8..0cb9638 100644 --- a/python-ansible-compat.spec +++ b/python-ansible-compat.spec @@ -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