From c0fab1e4fd8ede210966fb5524073e09bf48ab58 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 20:25:46 +0100 Subject: [PATCH] automatic version update by autodist [release 5.6.0-1mamba;Sat Apr 16 2022] --- ansible.spec | 52 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 20 deletions(-) diff --git a/ansible.spec b/ansible.spec index ae7617f..aaef7ee 100644 --- a/ansible.spec +++ b/ansible.spec @@ -1,5 +1,6 @@ +%define with_pyver 310 Name: ansible -Version: 4.8.0 +Version: 5.6.0 Release: 1mamba Summary: A radically simple IT automation system Group: System/Libraries @@ -10,16 +11,9 @@ URL: https://www.ansible.com/ Source: https://pypi.debian.net/ansible/ansible-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython3-devel -BuildRequires: python3.7dist(ansible-core) +BuildRequires: (python3.10dist(ansible-core) >= 2.12.4 with python3.10dist(ansible-core) < 2.13) +BuildRequires: libpython310-devel ## AUTOBUILDREQ-END -Requires: python3 >= %python3_version -Requires: PyYAML-py3 -Requires: python-paramiko-py3 -Requires: python-Jinja2-py3 -Requires: python-netaddr-py3 -Requires: python-markupsafe-py3 -Requires: python-cryptography-py3 Provides: python-ansible Obsoletes: python-ansible < 4.0.0 @@ -27,6 +21,9 @@ Obsoletes: python-ansible < 4.0.0 %{summary}. %if 0%{?with_pyver} +%py_requires_append \ +Provides: ansible \ +Obsoletes: ansible < 5.6.0 %pyver_package %endif @@ -34,15 +31,15 @@ Obsoletes: python-ansible < 4.0.0 %setup -q %build -CFLAGS="%{optflags}" %{__python3} setup.py build +CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python3} setup.py install \ +%{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{python3_inc} \ - --install-lib=%{python3_sitearch} \ + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist @@ -50,15 +47,30 @@ sed -i "/ /d" %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%{python3_sitearch}/ansible_collections/cisco/intersight/misc/*.pdf -%{python3_sitearch}/ansible_collections/cisco/ucs/misc/*.pdf -%{python3_sitearch}/ansible_collections/community/network/tests/integration/targets/ce_is_is_view/tests/netconf/test*.yaml -%{python3_sitearch}/ansible_collections/dellemc/enterprise_sonic/tests/regression/roles/sonic_bgp_neighbors/defaults/main*copy.yml -%dir %{python3_sitearch}/ansible-%{version}-py*.egg-info -%{python3_sitearch}/ansible-%{version}-py*.egg-info/* +%{python_sitearch}/ansible_collections/cisco/intersight/misc/*.pdf +%{python_sitearch}/ansible_collections/cisco/ucs/misc/*.pdf +%{python_sitearch}/ansible_collections/community/network/tests/integration/targets/ce_is_is_view/tests/netconf/test*.yaml +%{python_sitearch}/ansible_collections/dellemc/enterprise_sonic/tests/regression/roles/sonic_bgp_neighbors/defaults/main*copy.yml +%dir %{python_sitearch}/ansible-%{version}-py*.egg-info +%{python_sitearch}/ansible-%{version}-py*.egg-info/* %doc COPYING %changelog +* Sat Apr 16 2022 Automatic Build System 5.6.0-1mamba +- automatic version update by autodist + +* Wed Dec 22 2021 Automatic Build System 5.1.0-1mamba +- automatic version update by autodist + +* Thu Dec 02 2021 Automatic Build System 5.0.1-1mamba +- automatic version update by autodist + +* Tue Nov 30 2021 Automatic Build System 5.0.0-1mamba +- automatic version update by autodist + +* Thu Nov 25 2021 Automatic Build System 4.9.0-1mamba +- automatic version update by autodist + * Wed Nov 03 2021 Automatic Build System 4.8.0-1mamba - automatic version update by autodist