New upstream release 1.3.0
Resolves: RHEL-74187 Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
parent
44c04a472b
commit
67946182bc
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,3 +13,4 @@ netaddr-0.7.4.tar.gz
|
|||||||
/netaddr-0.9.0.tar.gz
|
/netaddr-0.9.0.tar.gz
|
||||||
/netaddr-0.10.1.tar.gz
|
/netaddr-0.10.1.tar.gz
|
||||||
/THANKS
|
/THANKS
|
||||||
|
/netaddr-1.3.0.tar.gz
|
||||||
|
@ -1,15 +1,14 @@
|
|||||||
%bcond docs %{undefined rhel}
|
%bcond docs %{undefined rhel}
|
||||||
|
|
||||||
Name: python-netaddr
|
Name: python-netaddr
|
||||||
Version: 0.10.1
|
Version: 1.3.0
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A pure Python network address representation and manipulation library
|
Summary: A pure Python network address representation and manipulation library
|
||||||
|
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/drkjam/netaddr
|
URL: https://github.com/drkjam/netaddr
|
||||||
Source0: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
|
||||||
# Remove once https://github.com/netaddr/netaddr/pull/345
|
# Remove once https://github.com/netaddr/netaddr/pull/345
|
||||||
Source1: THANKS
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
@ -48,7 +47,7 @@ Layer 2 addresses\
|
|||||||
Summary: A pure Python network address representation and manipulation library
|
Summary: A pure Python network address representation and manipulation library
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
BuildRequires: python3-setuptools
|
#xBuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
%description -n python3-netaddr
|
%description -n python3-netaddr
|
||||||
@ -71,14 +70,13 @@ find netaddr -name "*.py" | \
|
|||||||
xargs sed -i -e '1 {/^#!\//d}'
|
xargs sed -i -e '1 {/^#!\//d}'
|
||||||
|
|
||||||
# Make rpmlint happy, fix permissions on documentation files
|
# 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
|
%generate_buildrequires
|
||||||
# Remove once https://github.com/netaddr/netaddr/pull/345
|
%pyproject_buildrequires
|
||||||
mv %{SOURCE1} .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_wheel
|
||||||
|
|
||||||
#docs
|
#docs
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
@ -90,15 +88,15 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
%pyproject_save_files netaddr
|
||||||
|
|
||||||
%check
|
%check
|
||||||
py.test-%{python3_version}
|
py.test-%{python3_version}
|
||||||
|
|
||||||
%files -n python3-netaddr
|
%files -n python3-netaddr
|
||||||
%license COPYRIGHT
|
%license COPYRIGHT.rst
|
||||||
%doc AUTHORS CHANGELOG README.rst
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%doc docs/python3/html
|
%doc docs/python3/html
|
||||||
%endif
|
%endif
|
||||||
@ -108,6 +106,10 @@ py.test-%{python3_version}
|
|||||||
%{_bindir}/netaddr
|
%{_bindir}/netaddr
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 16 2025 Rafael Jeffman <rjeffman@redhat.com> - 1.3.0-1
|
||||||
|
- New upstream release 1.3.0
|
||||||
|
Resolves: RHEL-74187
|
||||||
|
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.10.1-6
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.10.1-6
|
||||||
- Bump release for October 2024 mass rebuild:
|
- Bump release for October 2024 mass rebuild:
|
||||||
Resolves: RHEL-64018
|
Resolves: RHEL-64018
|
||||||
|
3
sources
3
sources
@ -1,2 +1 @@
|
|||||||
SHA512 (netaddr-0.10.1.tar.gz) = ca04171d5cbfd569d4f262f4870610edfd98be35899cb70983dbff5f37add963e05987ddbe1ab22d9b615580ac1abe96a8c2903681b18af8c9f2f96899b618ff
|
SHA512 (netaddr-1.3.0.tar.gz) = 07dc08b5b24265c48fc303dc20b62a37b28c752a8ce44cb560ac7cd6fb8db874f05a5dfb18c26c0137c440e39a5e40e55a6b660f7298bfabead837dd075ba3a7
|
||||||
SHA512 (THANKS) = 056e48f59f855125c636c5e94a775a6c76d8d7318a71d4c4ac502f9e2c7ac503bc65816b9c62674aa67dda7ce3fa240ac67818ac0b76d00ae21f2db35c76e1c2
|
|
||||||
|
Loading…
Reference in New Issue
Block a user