Name: python-ipaddr Version: 2.2.0 Release: 2mamba Summary: A library for working with IP addresses, both IPv4 and IPv6 Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/google/ipaddr-py Source: https://pypi.debian.net/ipaddr/ipaddr-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel ## AUTOBUILDREQ-END %if "%{?with_pyver}" %pyver_package %endif %description %{summary}. %prep %setup -q -n ipaddr-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %{python_sitearch}/ipaddr-%{version}-py*.egg-info %doc COPYING %changelog * Wed Apr 26 2023 Silvan Calarco 2.2.0-2mamba - rebuilt with python 3.10 * Sat Jul 17 2021 Silvan Calarco 2.2.0-1mamba - update to 2.2.0 * Sat May 03 2014 Silvan Calarco 2.1.10-1mamba - package created using the webbuild interface