From d0a26f7e7d13485d9ed1b9d1cea293e483e82583 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 12 Nov 2021 11:59:15 -0800 Subject: [PATCH] Update to 2.12.0. Fixes rhbz#2022533 --- .gitignore | 1 + ansible-core.spec | 15 ++++++--------- sources | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 750037e..2275e36 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /ansible-core-2.11.4.tar.gz /ansible-core-2.11.5.tar.gz /ansible-core-2.11.6.tar.gz +/ansible-core-2.12.0.tar.gz diff --git a/ansible-core.spec b/ansible-core.spec index 60b4dad..6e99df7 100644 --- a/ansible-core.spec +++ b/ansible-core.spec @@ -14,7 +14,7 @@ Name: ansible-core Summary: A radically simple IT automation system -Version: 2.11.6 +Version: 2.12.0 Release: 1%{?betaver}%{?dist} License: GPLv3+ @@ -137,13 +137,7 @@ cp -a %{S:1} %{S:2} %{S:3} . %build -# Fix some files shebangs -sed -i -e 's|/usr/bin/env python|/usr/bin/python3|' test/lib/ansible_test/_data/*.py test/lib/ansible_test/_data/*/*.py test/lib/ansible_test/_data/*/*/*.py docs/bin/find-plugin-refs.py - -# These we have to supress or the package will depend on /usr/bin/pwsh and not be installable. -sed -i -s 's|/usr/bin/env pwsh||' test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/ps_argspec.ps1 -sed -i -s 's|/usr/bin/env pwsh||' test/lib/ansible_test/_data/sanity/pslint/pslint.ps1 -sed -i -s 's|/usr/bin/env pwsh||' test/lib/ansible_test/_data/requirements/sanity.ps1 +sed -i -s 's|/usr/bin/env python|/usr/bin/python3|' test/lib/ansible_test/_util/target/cli/ansible_test_cli_stub.py # disable the python -s shbang flag as we want to be able to find non system modules %global py3_shbang_opts %(echo %{py3_shbang_opts} | sed 's/-s//') @@ -224,7 +218,7 @@ make PYTHON=/usr/bin/python3 tests-py3 %files %license COPYING -%doc README.rst PKG-INFO changelogs/CHANGELOG-v2.11.rst +%doc README.rst PKG-INFO changelogs/CHANGELOG-v2.12.rst %dir %{_sysconfdir}/ansible/ %config(noreplace) %{_sysconfdir}/ansible/* %{_mandir}/man1/ansible* @@ -244,6 +238,9 @@ make PYTHON=/usr/bin/python3 tests-py3 %endif %changelog +* Mon Nov 08 2021 Kevin Fenzi - 2.12.0-1 +- Update to 2.12.0. Fixes rhbz#2022533 + * Thu Oct 14 2021 Maxwell G - 2.11.6-1 - Update to 2.11.6. diff --git a/sources b/sources index f8b0072..e64e9bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ansible-core-2.11.6.tar.gz) = d14686afb7b2802be3bca3baf6f3840d33f7994b7c48fcb4d42f871e13e4eb54ffef413e124dbe614a55041c23b509f5e887b687dbb6c4868425957cac45910a +SHA512 (ansible-core-2.12.0.tar.gz) = c3c8c0e2f14c30cecb6e693fc57d2bd686221efaf42f09773bd4606031e4fed68a216be17c040d51601f2059d0f4a44568cea309c3bd2a1c02957c6a4cd6d25a