ansible-core/ansible-core.spec

197 lines
7.0 KiB
RPMSpec

%define with_pyver 310
Name: ansible-core
Version: 2.14.3
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: libpython310-devel
BuildRequires: python3.10dist(cryptography)
BuildRequires: python3.10dist(jinja2)
BuildRequires: python3.10dist(packaging)
BuildRequires: python3.10dist(pyyaml)
BuildRequires: python3.10dist(resolvelib)
BuildRequires: python3.10dist(setuptools)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver} \
%define py_requires_append \
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} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export ANSIBLE_SKIP_CONFLICT_CHECK=1
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "/ /d" %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/ansible_core-*-py*.egg-info
%{python_sitearch}/ansible_core-*-py*.egg-info/*
%doc COPYING
%changelog
* 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