Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ansible for openSUSE:Factory checked in at 2022-12-02 13:13:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ansible (Old) and /work/SRC/openSUSE:Factory/.ansible.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansible" Fri Dec 2 13:13:33 2022 rev:88 rq:1039496 version:7.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ansible/ansible.changes 2022-11-17 17:24:40.461119353 +0100 +++ /work/SRC/openSUSE:Factory/.ansible.new.1835/ansible.changes 2022-12-02 13:13:49.294077655 +0100 @@ -1,0 +2,43 @@ +Fri Nov 25 07:03:33 UTC 2022 - Johannes Kastl <ka...@b1-systems.de> + +- rework spec file to define %ansible_python version, which is the + python version, that ansible is built against, as well as + %ansible_python_sitelib and %ansible_python_executable + +------------------------------------------------------------------- +Wed Nov 23 07:27:47 UTC 2022 - Johannes Kastl <ka...@b1-systems.de> + +- update to 7.0.0: + Ansible 7.0.0 will include ansible-core 2.14.0 as well as a curated set of + Ansible collections to provide a vast number of modules and plugins. + This is a major version update from Ansible 6.x which included + ansible-core 2.13 and there may be backwards incompatibilities in the + core playbook language. + + * What's new in Ansible 7 + - Ansible 7 requires Python 3.9 on the controller, same as ansible-core 2.14. + - Variables are now evaluated lazily; only when they are actually used. For + example, in ansible-core 2.14 an expression ``{{ defined_variable or + undefined_variable }}`` does not fail on ``undefined_variable`` if the + first part of ``or`` is evaluated to ``True`` as it is not needed to + evaluate the second part. + + * Collections added to Ansible 7: + - ibm.spectrum_virtualize (version 1.9.0) + - inspur.ispim (version 1.0.1) + - purestorage.fusion (version 1.1.1) + - vultr.cloud (version 1.1.0) + + * The previously deprecated servicenow.servicenow collection has been removed. + + * NOTE: Read the full Ansible 7 porting guide at + https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/porting_guides/porting_guide_7.rst + for complete details. + - The changelog for ansible-core 2.14 installed by this release of + ansible is available here: + https://github.com/ansible/ansible/blob/stable-2.14/changelogs/CHANGELOG-v2.14.rst + - Collections which have opted into being a part of the Ansible-7 + unified changelog will have an entry on this page: + https://github.com/ansible-community/ansible-build-data/blob/main/7/CHANGELOG-v7.rst + +------------------------------------------------------------------- Old: ---- ansible-6.6.0.tar.gz New: ---- ansible-7.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ansible.spec ++++++ --- /var/tmp/diff_new_pack.oA9sfj/_old 2022-12-02 13:13:50.386083659 +0100 +++ /var/tmp/diff_new_pack.oA9sfj/_new 2022-12-02 13:13:50.394083704 +0100 @@ -15,26 +15,42 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%if 0%{?suse_version} < 1550 +# Leap15, SLES15 +%define pythons python310 +%define ansible_python python310 +%define ansible_python_executable python3.10 +%define ansible_python_sitelib %python310_sitelib +%else +# Tumbleweed +%define pythons python3 +%define ansible_python python3 +%define ansible_python_executable python3 +%define ansible_python_sitelib %python3_sitelib +%endif + Name: ansible -Version: 6.6.0 +Version: 7.0.0 Release: 0 Summary: Radically simple IT automation License: GPL-3.0+ URL: https://ansible.com/ Source: https://files.pythonhosted.org/packages/source/a/ansible/ansible-%{version}.tar.gz Source99: ansible-rpmlintrc -BuildRequires: python3-rpm-macros -BuildRequires: python3-setuptools +BuildRequires: python-rpm-macros +BuildRequires: %{ansible_python}-base >= 3.9 +BuildRequires: %{ansible_python}-setuptools BuildRequires: fdupes # required to fix the azure collection line endings BuildRequires: dos2unix # SECTION test requirements -BuildRequires: ansible-core >= 2.13.6 +BuildRequires: ansible-core >= 2.14.0 # /SECTION -Requires: ansible-core >= 2.13.6 +Requires: %{ansible_python}-base >= 3.9 +Requires: ansible-core >= 2.14.0 BuildArch: noarch %description @@ -52,14 +68,14 @@ done # fix for wrong shebang: -sed -i 's|/Users/kbreit/Documents/Programming/ansible_collections/cisco/meraki/venv/bin/python|%{_bindir}/python3|g' ansible_collections/cisco/meraki/scripts/sublime-build/build.py.generic +sed -i 's|/Users/kbreit/Documents/Programming/ansible_collections/cisco/meraki/venv/bin/python|%{_bindir}/%{ansible_python_executable}|g' ansible_collections/cisco/meraki/scripts/sublime-build/build.py.generic # Replace all #!/usr/bin/env lines to use #!/usr/bin/$1 directly. find ./ -type f -exec \ sed -i '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} \; find ./ -type f -exec \ - sed -i '1s|python$|python3|' {} \; + sed -i '1s|python$|%{ansible_python_executable}|' {} \; # remove .keep and .gitignore files find ./ansible_collections/ -iname .gitignore -delete @@ -73,16 +89,16 @@ rm -rf ./ansible_collections/lowlydba/sqlserver/ %build -python3 setup.py build +%python_build %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %{buildroot}/%{python_sitelib}/ansible_collections/ +%python_install +%fdupes %{buildroot}/%{ansible_python_sitelib}/ansible_collections/ %files -%doc CHANGELOG-v6.rst README.rst +%doc CHANGELOG-v7.rst README.rst %license COPYING %{_bindir}/ansible-community -%{python_sitelib}/* +%{ansible_python_sitelib}/ %changelog ++++++ ansible-6.6.0.tar.gz -> ansible-7.0.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/ansible/ansible-6.6.0.tar.gz /work/SRC/openSUSE:Factory/.ansible.new.1835/ansible-7.0.0.tar.gz differ: char 5, line 1