automatic version update by autodist [release 5.6.0-1mamba;Sat Apr 16 2022]

This commit is contained in:
Automatic Build System 2024-01-05 20:25:46 +01:00
parent 1a27b264fd
commit c0fab1e4fd

View File

@ -1,5 +1,6 @@
%define with_pyver 310
Name: ansible Name: ansible
Version: 4.8.0 Version: 5.6.0
Release: 1mamba Release: 1mamba
Summary: A radically simple IT automation system Summary: A radically simple IT automation system
Group: System/Libraries Group: System/Libraries
@ -10,16 +11,9 @@ URL: https://www.ansible.com/
Source: https://pypi.debian.net/ansible/ansible-%{version}.tar.gz Source: https://pypi.debian.net/ansible/ansible-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel BuildRequires: (python3.10dist(ansible-core) >= 2.12.4 with python3.10dist(ansible-core) < 2.13)
BuildRequires: python3.7dist(ansible-core) BuildRequires: libpython310-devel
## AUTOBUILDREQ-END ## 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 Provides: python-ansible
Obsoletes: python-ansible < 4.0.0 Obsoletes: python-ansible < 4.0.0
@ -27,6 +21,9 @@ Obsoletes: python-ansible < 4.0.0
%{summary}. %{summary}.
%if 0%{?with_pyver} %if 0%{?with_pyver}
%py_requires_append \
Provides: ansible \
Obsoletes: ansible < 5.6.0
%pyver_package %pyver_package
%endif %endif
@ -34,15 +31,15 @@ Obsoletes: python-ansible < 4.0.0
%setup -q %setup -q
%build %build
CFLAGS="%{optflags}" %{__python3} setup.py build CFLAGS="%{optflags}" %{__python} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \ %{__python} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{python3_inc} \ --install-headers=%{python_inc} \
--install-lib=%{python3_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{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 %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{python3_sitearch}/ansible_collections/cisco/intersight/misc/*.pdf %{python_sitearch}/ansible_collections/cisco/intersight/misc/*.pdf
%{python3_sitearch}/ansible_collections/cisco/ucs/misc/*.pdf %{python_sitearch}/ansible_collections/cisco/ucs/misc/*.pdf
%{python3_sitearch}/ansible_collections/community/network/tests/integration/targets/ce_is_is_view/tests/netconf/test*.yaml %{python_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 %{python_sitearch}/ansible_collections/dellemc/enterprise_sonic/tests/regression/roles/sonic_bgp_neighbors/defaults/main*copy.yml
%dir %{python3_sitearch}/ansible-%{version}-py*.egg-info %dir %{python_sitearch}/ansible-%{version}-py*.egg-info
%{python3_sitearch}/ansible-%{version}-py*.egg-info/* %{python_sitearch}/ansible-%{version}-py*.egg-info/*
%doc COPYING %doc COPYING
%changelog %changelog
* Sat Apr 16 2022 Automatic Build System <autodist@mambasoft.it> 5.6.0-1mamba
- automatic version update by autodist
* Wed Dec 22 2021 Automatic Build System <autodist@mambasoft.it> 5.1.0-1mamba
- automatic version update by autodist
* Thu Dec 02 2021 Automatic Build System <autodist@mambasoft.it> 5.0.1-1mamba
- automatic version update by autodist
* Tue Nov 30 2021 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist
* Thu Nov 25 2021 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
- automatic version update by autodist
* Wed Nov 03 2021 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba * Wed Nov 03 2021 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
- automatic version update by autodist - automatic version update by autodist