70 lines
2.4 KiB
Plaintext
70 lines
2.4 KiB
Plaintext
%{!?python2_sitelib: %global python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
|
|
|
Summary: Configuration-management, application deployment, cloud provisioning system
|
|
Name: ansible
|
|
Version: 2.9.9
|
|
Release: 1%{?dist}
|
|
License: GPLv3+
|
|
URL: https://www.ansible.com
|
|
Group: Development/Libraries
|
|
Vendor: Microsoft Corporation
|
|
Distribution: Mariner
|
|
Source0: https://releases.ansible.com/ansible/%{name}-%{version}.tar.gz
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python2
|
|
BuildRequires: python2-libs
|
|
BuildRequires: python-setuptools
|
|
|
|
Requires: python2
|
|
Requires: python2-libs
|
|
# Required for %check
|
|
Requires: python2-devel
|
|
|
|
%description
|
|
Ansible is a radically simple IT automation system. It handles configuration-management, application deployment, cloud provisioning, ad-hoc task-execution, and multinode orchestration - including trivializing things like zero downtime rolling updates with load balancers.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
python2 setup.py build
|
|
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
python2 setup.py install -O1 --skip-build \
|
|
--root "%{buildroot}"
|
|
|
|
%check
|
|
python2 setup.py test
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%license licenses
|
|
%{_bindir}/*
|
|
%{python2_sitelib}/*
|
|
|
|
%changelog
|
|
* Tue Jun 02 2020 Nicolas Ontiveros <niontive@microsoft.com> 2.9.9-1
|
|
- Upgrade to version 2.9.9, which resolves CVE-2020-1733 and CVE-2020-1738.
|
|
* Sat May 09 00:21:43 PST 2020 Nick Samson <nisamson@microsoft.com> 2.9.5-2
|
|
- Added %%license line automatically
|
|
* Wed Mar 18 2020 Emre Girgin <mrgirgin@microsoft.com> 2.9.5-1
|
|
- Version update to 2.9.5. License verified.
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 2.7.6-2
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
|
* Tue Jan 22 2019 Anish Swaminathan <anishs@vmware.com> 2.7.6-1
|
|
- Version update to 2.7.6, fix CVE-2018-16876
|
|
* Mon Sep 17 2018 Ankit Jain <ankitja@vmware.com> 2.6.4-1
|
|
- Version update to 2.6.4
|
|
* Thu Oct 12 2017 Anish Swaminathan <anishs@vmware.com> 2.4.0.0-1
|
|
- Version update to 2.4.0.0
|
|
* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.2.2.0-2
|
|
- Use python2 explicitly
|
|
* Thu Apr 6 2017 Alexey Makhalov <amakhalov@vmware.com> 2.2.2.0-1
|
|
- Version update
|
|
* Wed Sep 21 2016 Xiaolin Li <xiaolinl@vmware.com> 2.1.1.0-1
|
|
- Initial build. First version
|