automatic version update by autodist [release 2.18.0-1mamba;Wed Nov 06 2024]
This commit is contained in:
parent
69850f9a90
commit
e68f140d8a
@ -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 <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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user