rebuilt with python3 [release 2.9.13-2mamba;Tue Sep 08 2020]
This commit is contained in:
parent
843d445172
commit
d81ce1b5c7
28
ansible.spec
28
ansible.spec
@ -1,6 +1,6 @@
|
||||
Name: ansible
|
||||
Version: 2.9.13
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A radically simple IT automation system
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,12 +10,15 @@ URL: https://www.ansible.com/
|
||||
Source: https://pypi.debian.net/ansible/ansible-%{version}.tar.gz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
Requires: PyYAML
|
||||
Requires: python-paramiko
|
||||
Requires: python-Jinja2
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
@ -31,23 +34,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
%{__python3} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--install-headers=%{python3_inc} \
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/ansible_test/_data/injector/ansible-inventory
|
||||
%{python3_sitearch}/ansible_test/_data/injector/ansible-inventory
|
||||
%doc COPYING
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user