rebuilt with python3 [release 2.9.13-2mamba;Tue Sep 08 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 20:25:46 +01:00
parent 843d445172
commit d81ce1b5c7

View File

@ -1,6 +1,6 @@
Name: ansible Name: ansible
Version: 2.9.13 Version: 2.9.13
Release: 1mamba Release: 2mamba
Summary: A radically simple IT automation system Summary: A radically simple IT automation system
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -10,12 +10,15 @@ 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: libpython-devel BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: python >= %python_version Requires: python3 >= %python3_version
Requires: PyYAML Requires: PyYAML-py3
Requires: python-paramiko Requires: python-paramiko-py3
Requires: python-Jinja2 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 Obsoletes: python-ansible
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -31,23 +34,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%setup -q %setup -q
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python3} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{python_inc} \ --install-headers=%{python3_inc} \
--install-lib=%{python_sitearch} \ --install-lib=%{python3_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/ansible_test/_data/injector/ansible-inventory %{python3_sitearch}/ansible_test/_data/injector/ansible-inventory
%doc COPYING %doc COPYING
%changelog %changelog
* Tue Sep 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.13-2mamba
- rebuilt with python3
* Fri Sep 04 2020 Automatic Build System <autodist@mambasoft.it> 2.9.13-1mamba * Fri Sep 04 2020 Automatic Build System <autodist@mambasoft.it> 2.9.13-1mamba
- automatic version update by autodist - automatic version update by autodist