diff --git a/ansible.spec b/ansible.spec index 1a0cbcb..14c3626 100644 --- a/ansible.spec +++ b/ansible.spec @@ -1,5 +1,5 @@ Name: ansible -Version: 3.4.0 +Version: 4.0.0 Release: 1mamba Summary: A radically simple IT automation system Group: System/Libraries @@ -10,6 +10,8 @@ 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) ## AUTOBUILDREQ-END Requires: python3 >= %python3_version Requires: PyYAML-py3 @@ -19,7 +21,7 @@ Requires: python-netaddr-py3 Requires: python-markupsafe-py3 Requires: python-cryptography-py3 Provides: python-ansible -Obsoletes: python-ansible +Obsoletes: python-ansible < 4.0.0 %description %{summary}. @@ -43,6 +45,7 @@ CFLAGS="%{optflags}" %{__python3} setup.py build --install-lib=%{python3_sitearch} \ --record=%{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "/ /d" %{name}.filelist %files %{?pyappend} -f %{name}.filelist @@ -50,9 +53,15 @@ sed -i "/ /d" %{name}.filelist %{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/* %doc COPYING %changelog +* Wed May 19 2021 Automatic Build System 4.0.0-1mamba +- automatic version update by autodist + * Wed May 12 2021 Automatic Build System 3.4.0-1mamba - automatic version update by autodist