automatic version update by autodist [release 2.18.0-1mamba;Wed Nov 06 2024]

This commit is contained in:
Automatic Build System 2024-11-21 20:58:30 +01:00
parent 69850f9a90
commit e68f140d8a

View File

@ -1,5 +1,6 @@
%define pkgname %(echo %name | tr - _)
Name: ansible-core Name: ansible-core
Version: 2.17.6 Version: 2.18.0
Release: 1mamba Release: 1mamba
Summary: A radically simple IT automation system Summary: A radically simple IT automation system
Group: System/Libraries Group: System/Libraries
@ -18,7 +19,6 @@ BuildRequires: python3.11dist(jinja2)
BuildRequires: python3.11dist(packaging) BuildRequires: python3.11dist(packaging)
BuildRequires: python3.11dist(pyyaml) BuildRequires: python3.11dist(pyyaml)
BuildRequires: python3.11dist(resolvelib) BuildRequires: python3.11dist(resolvelib)
BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%description %description
@ -41,28 +41,35 @@ Obsoletes: ansible-core < 2.12.4-2mamba
%build %build
export ANSIBLE_SKIP_CONFLICT_CHECK=1 export ANSIBLE_SKIP_CONFLICT_CHECK=1
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export ANSIBLE_SKIP_CONFLICT_CHECK=1 export ANSIBLE_SKIP_CONFLICT_CHECK=1
%{__python} setup.py install \ %{__python} -m installer --destdir=%{buildroot} dist/*.whl
-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 #%if "%{?with_pyver}" != "3"
sed -i "/ /d" %{name}.filelist ## 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) %defattr(-,root,root)
%dir %{python_sitearch}/ansible_core-*-py*.egg-info %{_bindir}/ansible*
%{python_sitearch}/ansible_core-*-py*.egg-info/* %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 %doc COPYING
%changelog %changelog
* 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 * Sun Nov 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.17.6-1mamba
- update to 2.17.6 - update to 2.17.6