279 lines
10 KiB
RPMSpec
279 lines
10 KiB
RPMSpec
%define pkgname %(echo %name | tr - _)
|
|
Name: ansible-core
|
|
Version: 2.18.1
|
|
Release: 1mamba
|
|
Summary: A radically simple IT automation system
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.ansible.com/
|
|
Source: https://pypi.debian.net/ansible-core/ansible_core-%{version}.tar.gz
|
|
Patch0: ansible-base-2.11.0-upstream-gpg_key-fix-for-binary-keys.patch
|
|
Patch1: ansible-core-2.12.4-resolvelib-0.8.1.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
BuildRequires: python3.11dist(cryptography)
|
|
BuildRequires: python3.11dist(jinja2)
|
|
BuildRequires: python3.11dist(packaging)
|
|
BuildRequires: python3.11dist(pyyaml)
|
|
BuildRequires: python3.11dist(resolvelib)
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%if 0%{?with_pyver} \
|
|
%define py_requires_append \
|
|
Obsoletes: ansible-core-py310 <= 2.16.0-1mamba \
|
|
Provides: ansible-base \
|
|
Obsoletes: ansible-base <= 2.11.0-1mamba \
|
|
Provides: ansible-core \
|
|
Obsoletes: ansible-core < 2.12.4-2mamba
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n ansible_core-%{version}
|
|
#%patch0 -p1
|
|
#%patch1 -p1 -b .resolvelib-0.8.1
|
|
|
|
%build
|
|
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
## Rename any conflicting file outside of python site packages tree
|
|
#for f in %{_bindir}/pdm; do
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
#done
|
|
#%endif
|
|
|
|
%files %{?pyappend}
|
|
%defattr(-,root,root)
|
|
%{_bindir}/ansible*
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
%dir %{python_sitelib}/ansible
|
|
%{python_sitelib}/ansible/*
|
|
%dir %{python_sitelib}/ansible_test
|
|
%{python_sitelib}/ansible_test/*
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Tue Dec 03 2024 Automatic Build System <autodist@openmamba.org> 2.18.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 06 2024 Automatic Build System <autodist@openmamba.org> 2.18.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Nov 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.17.6-1mamba
|
|
- update to 2.17.6
|
|
|
|
* Tue Oct 08 2024 Automatic Build System <autodist@openmamba.org> 2.17.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Sep 10 2024 Automatic Build System <autodist@openmamba.org> 2.17.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 13 2024 Automatic Build System <autodist@openmamba.org> 2.17.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 16 2024 Automatic Build System <autodist@openmamba.org> 2.17.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jun 17 2024 Automatic Build System <autodist@openmamba.org> 2.17.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 06 2024 Automatic Build System <autodist@openmamba.org> 2.17.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.16.7-1mamba
|
|
- update to 2.16.7
|
|
|
|
* Fri May 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.16.6-1mamba
|
|
- update to 2.16.6
|
|
|
|
* Mon Mar 25 2024 Automatic Build System <autodist@openmamba.org> 2.16.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 27 2024 Automatic Build System <autodist@openmamba.org> 2.16.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 30 2024 Automatic Build System <autodist@openmamba.org> 2.16.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 12 2023 Automatic Build System <autodist@mambasoft.it> 2.16.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 2.16.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.16.0-2mamba
|
|
- rebuilt with python3 == 3.11
|
|
|
|
* Mon Nov 06 2023 Automatic Build System <autodist@mambasoft.it> 2.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 10 2023 Automatic Build System <autodist@mambasoft.it> 2.15.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Sep 12 2023 Automatic Build System <autodist@mambasoft.it> 2.15.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 15 2023 Automatic Build System <autodist@mambasoft.it> 2.15.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 18 2023 Automatic Build System <autodist@mambasoft.it> 2.15.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 21 2023 Automatic Build System <autodist@mambasoft.it> 2.15.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed May 17 2023 Automatic Build System <autodist@mambasoft.it> 2.15.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 25 2023 Automatic Build System <autodist@mambasoft.it> 2.14.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 2.14.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 28 2023 Automatic Build System <autodist@mambasoft.it> 2.14.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 31 2023 Automatic Build System <autodist@mambasoft.it> 2.14.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 07 2022 Automatic Build System <autodist@mambasoft.it> 2.14.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 09 2022 Automatic Build System <autodist@mambasoft.it> 2.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 11 2022 Automatic Build System <autodist@mambasoft.it> 2.13.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Sep 14 2022 Automatic Build System <autodist@mambasoft.it> 2.13.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.3-2mamba
|
|
- rebuilt to fix version of python3dist(ansible-core) provide
|
|
|
|
* Tue Aug 16 2022 Automatic Build System <autodist@mambasoft.it> 2.13.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 19 2022 Automatic Build System <autodist@mambasoft.it> 2.13.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jun 21 2022 Automatic Build System <autodist@mambasoft.it> 2.13.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 20 2022 Automatic Build System <autodist@mambasoft.it> 2.13.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 26 2022 Automatic Build System <autodist@mambasoft.it> 2.12.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.4-2mamba
|
|
- added patch against python-resolvelib 0.8.1
|
|
|
|
* Fri Apr 08 2022 Automatic Build System <autodist@mambasoft.it> 2.12.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 12 2021 Automatic Build System <autodist@mambasoft.it> 2.11.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Sep 14 2021 Automatic Build System <autodist@mambasoft.it> 2.11.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 16 2021 Automatic Build System <autodist@mambasoft.it> 2.11.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 20 2021 Automatic Build System <autodist@mambasoft.it> 2.11.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jun 22 2021 Automatic Build System <autodist@mambasoft.it> 2.11.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 25 2021 Automatic Build System <autodist@mambasoft.it> 2.11.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.0-2mamba
|
|
- renamed from ansible-base to ansible-core; added upstream patch to fix gpg_key with binary keys
|
|
|
|
* Wed May 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.0-1mamba
|
|
- update to 2.11.0
|
|
|
|
* Wed May 05 2021 Automatic Build System <autodist@mambasoft.it> 2.10.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 2.10.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 17 2021 Automatic Build System <autodist@mambasoft.it> 2.10.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 2.10.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 19 2021 Automatic Build System <autodist@mambasoft.it> 2.10.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 15 2020 Automatic Build System <autodist@mambasoft.it> 2.10.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Nov 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.3-3mamba
|
|
- resource from pypi and renamed to ansible-base
|
|
|
|
* Sun Nov 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.3-2mamba
|
|
- switch back to github repository providing full version with bin tools
|
|
|
|
* Thu Nov 05 2020 Automatic Build System <autodist@mambasoft.it> 2.10.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 14 2020 Automatic Build System <autodist@mambasoft.it> 2.10.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 26 2020 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Wed Aug 12 2020 Automatic Build System <autodist@mambasoft.it> 2.9.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 21 2020 Automatic Build System <autodist@mambasoft.it> 2.9.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jun 21 2020 Automatic Build System <autodist@mambasoft.it> 2.9.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed May 13 2020 Automatic Build System <autodist@mambasoft.it> 2.9.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Apr 20 2020 Automatic Build System <autodist@mambasoft.it> 2.9.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 12 2020 Automatic Build System <autodist@mambasoft.it> 2.9.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 2.9.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Feb 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.4-1mamba
|
|
- update to 2.9.4
|
|
|
|
* Thu May 03 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.2-1mamba
|
|
- package created using the webbuild interface
|