From 822fad1e2654ab0b91dc135ad7241c8b6a6ec11d20f37d7ebb7663cbc163c482 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Fri, 2 Dec 2022 07:55:10 +0000 Subject: [PATCH 1/2] 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 --- python-ansible-compat.changes | 8 ++++++++ python-ansible-compat.spec | 8 ++++++++ 2 files changed, 16 insertions(+) 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 From ec30f702365b96baeb03a6781ac6a4a3764f51a6178ce833c064741ad3f78127 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Fri, 2 Dec 2022 07:56:09 +0000 Subject: [PATCH 2/2] Accepting request 1039502 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible - update to 2.2.6: * Bugfixes - Adopt PEP-621 for packaging (#195) @ssbarnea - Revert "Avoid running galaxy on offline mode (#180)" (#192) @ssbarnea OBS-URL: https://build.opensuse.org/request/show/1039502 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/python-ansible-compat?expand=0&rev=8 --- ansible-compat-2.2.5.tar.gz | 3 --- ansible-compat-2.2.6.tar.gz | 3 +++ python-ansible-compat.changes | 8 ++++++++ python-ansible-compat.spec | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 ansible-compat-2.2.5.tar.gz create mode 100644 ansible-compat-2.2.6.tar.gz diff --git a/ansible-compat-2.2.5.tar.gz b/ansible-compat-2.2.5.tar.gz deleted file mode 100644 index 10013cb..0000000 --- a/ansible-compat-2.2.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28c7c545fd60ef9c3059cfb2fefd27f92db091ff6b5868f83f121ceb5e1fe1b5 -size 39794 diff --git a/ansible-compat-2.2.6.tar.gz b/ansible-compat-2.2.6.tar.gz new file mode 100644 index 0000000..af38b8f --- /dev/null +++ b/ansible-compat-2.2.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8bb3488327125a0948d38b766389a4819573343d5673aa78a7bed23eb9d5b28d +size 38890 diff --git a/python-ansible-compat.changes b/python-ansible-compat.changes index e404661..09c0af2 100644 --- a/python-ansible-compat.changes +++ b/python-ansible-compat.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Dec 1 05:48:32 UTC 2022 - Johannes Kastl + +- update to 2.2.6: + * Bugfixes + - Adopt PEP-621 for packaging (#195) @ssbarnea + - Revert "Avoid running galaxy on offline mode (#180)" (#192) @ssbarnea + ------------------------------------------------------------------- Fri Nov 25 07:12:13 UTC 2022 - Johannes Kastl diff --git a/python-ansible-compat.spec b/python-ansible-compat.spec index 0cb9638..214592a 100644 --- a/python-ansible-compat.spec +++ b/python-ansible-compat.spec @@ -26,7 +26,7 @@ %endif Name: python-ansible-compat -Version: 2.2.5 +Version: 2.2.6 Release: 0 Summary: Compatibility shim for Ansible 2.9 and newer License: MIT