diff --git a/.gitignore b/.gitignore index 9d1b769..d2b7e44 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ netaddr-0.7.4.tar.gz /netaddr-0.9.0.tar.gz /netaddr-0.10.1.tar.gz /THANKS +/netaddr-1.3.0.tar.gz diff --git a/python-netaddr.spec b/python-netaddr.spec index 8b91d1a..6f8bcbc 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -1,15 +1,14 @@ %bcond docs %{undefined rhel} Name: python-netaddr -Version: 0.10.1 -Release: 6%{?dist} +Version: 1.3.0 +Release: 1%{?dist} Summary: A pure Python network address representation and manipulation library License: BSD-3-Clause URL: https://github.com/drkjam/netaddr Source0: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz # Remove once https://github.com/netaddr/netaddr/pull/345 -Source1: THANKS BuildArch: noarch %if %{with docs} @@ -48,7 +47,7 @@ Layer 2 addresses\ Summary: A pure Python network address representation and manipulation library BuildRequires: python3-devel -BuildRequires: python3-setuptools +#xBuildRequires: python3-setuptools BuildRequires: python3-pytest %description -n python3-netaddr @@ -71,14 +70,13 @@ find netaddr -name "*.py" | \ xargs sed -i -e '1 {/^#!\//d}' # Make rpmlint happy, fix permissions on documentation files -chmod 0644 README.rst AUTHORS CHANGELOG COPYRIGHT LICENSE PKG-INFO +chmod 0644 README.rst AUTHORS.rst CHANGELOG.rst COPYRIGHT.rst LICENSE.rst PKG-INFO -# Include missing THANKS file -# Remove once https://github.com/netaddr/netaddr/pull/345 -mv %{SOURCE1} . +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel #docs %if %{with docs} @@ -90,15 +88,15 @@ popd %install -%py3_install - +%pyproject_install +%pyproject_save_files netaddr %check py.test-%{python3_version} %files -n python3-netaddr -%license COPYRIGHT -%doc AUTHORS CHANGELOG README.rst +%license COPYRIGHT.rst +%doc AUTHORS.rst CHANGELOG.rst README.rst %if %{with docs} %doc docs/python3/html %endif @@ -108,6 +106,10 @@ py.test-%{python3_version} %{_bindir}/netaddr %changelog +* Thu Jan 16 2025 Rafael Jeffman - 1.3.0-1 +- New upstream release 1.3.0 + Resolves: RHEL-74187 + * Tue Oct 29 2024 Troy Dawson - 0.10.1-6 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018 diff --git a/sources b/sources index 71ddde6..2a06ada 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (netaddr-0.10.1.tar.gz) = ca04171d5cbfd569d4f262f4870610edfd98be35899cb70983dbff5f37add963e05987ddbe1ab22d9b615580ac1abe96a8c2903681b18af8c9f2f96899b618ff -SHA512 (THANKS) = 056e48f59f855125c636c5e94a775a6c76d8d7318a71d4c4ac502f9e2c7ac503bc65816b9c62674aa67dda7ce3fa240ac67818ac0b76d00ae21f2db35c76e1c2 +SHA512 (netaddr-1.3.0.tar.gz) = 07dc08b5b24265c48fc303dc20b62a37b28c752a8ce44cb560ac7cd6fb8db874f05a5dfb18c26c0137c440e39a5e40e55a6b660f7298bfabead837dd075ba3a7