Update to 2.12.0. Fixes rhbz#2022533

This commit is contained in:
Kevin Fenzi 2021-11-12 11:59:15 -08:00
parent d2f4754036
commit d0a26f7e7d
3 changed files with 8 additions and 10 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <kevin@scrye.com> - 2.12.0-1
- Update to 2.12.0. Fixes rhbz#2022533
* Thu Oct 14 2021 Maxwell G <gotmax@e.email> - 2.11.6-1
- Update to 2.11.6.

View File

@ -1 +1 @@
SHA512 (ansible-core-2.11.6.tar.gz) = d14686afb7b2802be3bca3baf6f3840d33f7994b7c48fcb4d42f871e13e4eb54ffef413e124dbe614a55041c23b509f5e887b687dbb6c4868425957cac45910a
SHA512 (ansible-core-2.12.0.tar.gz) = c3c8c0e2f14c30cecb6e693fc57d2bd686221efaf42f09773bd4606031e4fed68a216be17c040d51601f2059d0f4a44568cea309c3bd2a1c02957c6a4cd6d25a