rebuilt as ansible instead of ansible-py310 [release 5.6.0-2mamba;Sun May 01 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 20:25:47 +01:00
parent c0fab1e4fd
commit 222405e26a

View File

@ -1,7 +1,7 @@
%define with_pyver 310
Name: ansible
Version: 5.6.0
Release: 1mamba
Release: 2mamba
Summary: A radically simple IT automation system
Group: System/Libraries
Vendor: openmamba
@ -16,14 +16,13 @@ BuildRequires: libpython310-devel
## AUTOBUILDREQ-END
Provides: python-ansible
Obsoletes: python-ansible < 4.0.0
Provides: python-ansible-py310
Obsoletes: python-ansible-py310 <= 5.6.0-1mamba
%description
%{summary}.
%if 0%{?with_pyver}
%py_requires_append \
Provides: ansible \
Obsoletes: ansible < 5.6.0
%pyver_package
%endif
@ -45,7 +44,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "/ /d" %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%{python_sitearch}/ansible_collections/cisco/intersight/misc/*.pdf
%{python_sitearch}/ansible_collections/cisco/ucs/misc/*.pdf
@ -56,6 +55,9 @@ sed -i "/ /d" %{name}.filelist
%doc COPYING
%changelog
* Sun May 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-2mamba
- rebuilt as ansible instead of ansible-py310
* Sat Apr 16 2022 Automatic Build System <autodist@mambasoft.it> 5.6.0-1mamba
- automatic version update by autodist