From: Marcin Krol Date: Sat, 16 Aug 2025 09:24:28 +0000 (+0200) Subject: - updated to 11.9.0 X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=HEAD;p=packages%2Fansible.git - updated to 11.9.0 --- diff --git a/ansible.spec b/ansible.spec index 2bbabdf..a2b5487 100644 --- a/ansible.spec +++ b/ansible.spec @@ -1,15 +1,18 @@ Summary: Curated set of Ansible collections included in addition to ansible-core Name: ansible -Version: 9.13.0 +Version: 11.9.0 Release: 1 License: GPL v3+ Group: Development/Libraries Source0: https://files.pythonhosted.org/packages/source/a/ansible/%{name}-%{version}.tar.gz -# Source0-md5: 0cb4f1a7c9956b332fcd9e12dec8ef40 +# Source0-md5: 25d4479b917943e0784e8edc6e4ca765 Patch0: setup.patch URL: https://ansible.com -BuildRequires: python3-PyYAML +BuildRequires: python3-build +BuildRequires: python3-installer BuildRequires: python3-modules +BuildRequires: python3-PyYAML +BuildRequires: python3-wheel BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.710 Requires: %{name}-core >= 2.6.14 @@ -25,16 +28,16 @@ are transferred to managed machines automatically. %prep %setup -q -%patch0 -p1 +%patch -P0 -p1 grep -rlZ -0 '#!/usr/bin/env bash' ansible_collections | xargs -0 sed -i -e 's,#!/usr/bin/env bash,#!/bin/bash,g' %build -%py3_build +%py3_build_pyproject %install rm -rf $RPM_BUILD_ROOT -%py3_install +%py3_install_pyproject %clean rm -rf $RPM_BUILD_ROOT @@ -43,4 +46,4 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/ansible-community %{py3_sitescriptdir}/ansible_collections -%{py3_sitescriptdir}/ansible-%{version}-*.egg-info +%{py3_sitescriptdir}/ansible-%{version}.dist-info diff --git a/setup.patch b/setup.patch index ea044eb..eabbc6d 100644 --- a/setup.patch +++ b/setup.patch @@ -4,8 +4,8 @@ [options] zip_safe = False install_requires = -- ansible-core ~= 2.16.14 -+ ansible-core >= 2.16.14 - python_requires = >=3.10 +- ansible-core ~= 2.18.8 ++ ansible-core >= 2.18.8 + python_requires = >=3.11 package_dir = =.