]> TLD Linux GIT Repositories - packages/ansible.git/commitdiff
- updated to 11.9.0 master
authorMarcin Krol <hawk@tld-linux.org>
Sat, 16 Aug 2025 09:24:28 +0000 (11:24 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 16 Aug 2025 09:24:28 +0000 (11:24 +0200)
ansible.spec
setup.patch

index 2bbabdf8aa2d2f41ee3b6abbcf13d1895bbfdca0..a2b54874b8804a8a473d22794fc581b61784688a 100644 (file)
@@ -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
index ea044eb11fa2cce25994abb7d4fc5a8426f46faf..eabbc6df7922731286f34ac8357b840a42cdee22 100644 (file)
@@ -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 = 
        =.