automatic version update by autodist [release 1.1.0-1mamba;Fri Feb 16 2024]

This commit is contained in:
Automatic Build System 2024-02-17 11:15:26 +01:00
parent 7bd218b6cd
commit 44246e80a9

View File

@ -1,5 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-netaddr Name: python-netaddr
Version: 0.10.1 Version: 1.1.0
Release: 1mamba Release: 1mamba
Summary: A network address manipulation library for Python Summary: A network address manipulation library for Python
Group: System/Libraries Group: System/Libraries
@ -12,9 +13,6 @@ License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel BuildRequires: libpython311-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
BuildRequires: libpython-devel
Requires: python >= %python_version
%description %description
%{summary}. %{summary}.
@ -27,27 +25,32 @@ Requires: python >= %python_version
%setup -q -n netaddr-%{version} %setup -q -n netaddr-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__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 "s,.*/man/.*,&.gz," %{name}.filelist %if "%{?with_pyver}" != "3"
# Rename any conflicting file outside of python site packages tree
%files %{?pyappend} -f %{name}.filelist for f in %{_bindir}/netaddr; do
%defattr(-,root,root) mv %{buildroot}${f}{,-%{?pyappend}}
%if "%{?pyappend}" != "py3" done
%exclude %{_bindir}/netaddr
%endif %endif
%doc AUTHORS LICENSE
%files %{?pyappend}
%defattr(-,root,root)
%{_bindir}/netaddr*
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc AUTHORS.rst LICENSE.rst
%changelog %changelog
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 1.1.0-1mamba
- automatic version update by autodist
* Wed Jan 03 2024 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba * Wed Jan 03 2024 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
- automatic version update by autodist - automatic version update by autodist