From e68f140d8ab43fbe70c1039e981bcc692be6c84a Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Thu, 21 Nov 2024 20:58:30 +0100 Subject: [PATCH] automatic version update by autodist [release 2.18.0-1mamba;Wed Nov 06 2024] --- ansible-core.spec | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/ansible-core.spec b/ansible-core.spec index 6a9b905..f2f4bd6 100644 --- a/ansible-core.spec +++ b/ansible-core.spec @@ -1,5 +1,6 @@ +%define pkgname %(echo %name | tr - _) Name: ansible-core -Version: 2.17.6 +Version: 2.18.0 Release: 1mamba Summary: A radically simple IT automation system Group: System/Libraries @@ -18,7 +19,6 @@ BuildRequires: python3.11dist(jinja2) BuildRequires: python3.11dist(packaging) BuildRequires: python3.11dist(pyyaml) BuildRequires: python3.11dist(resolvelib) -BuildRequires: python3.11dist(setuptools) ## AUTOBUILDREQ-END %description @@ -41,28 +41,35 @@ Obsoletes: ansible-core < 2.12.4-2mamba %build export ANSIBLE_SKIP_CONFLICT_CHECK=1 -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %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 +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -sed -i "/ /d" %{name}.filelist +#%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} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/ansible_core-*-py*.egg-info -%{python_sitearch}/ansible_core-*-py*.egg-info/* +%{_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 +* Wed Nov 06 2024 Automatic Build System 2.18.0-1mamba +- automatic version update by autodist + * Sun Nov 10 2024 Silvan Calarco 2.17.6-1mamba - update to 2.17.6