Upgrade python-netaddr to 0.8.0 (#1990)

This commit is contained in:
Thomas Crain 2022-01-24 23:14:14 -08:00 committed by GitHub
parent 1adf15efc5
commit a6558a0982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 15 deletions

View File

@ -1,5 +1,5 @@
{
"Signatures": {
"netaddr-0.7.19.tar.gz": "38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd"
"netaddr-0.8.0.tar.gz": "d5a4e3cfdcfaf322afa0828914a1c77ac93c55ea9436e7c9f40ef527253b7533"
}
}

View File

@ -1,14 +1,21 @@
Summary: A network address manipulation library for Python
Name: python-netaddr
Version: 0.7.19
Release: 10%{?dist}
Version: 0.8.0
Release: 1%{?dist}
License: BSD
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages/Python
URL: https://github.com/netaddr/netaddr
Source0: https://github.com/netaddr/netaddr/archive/netaddr-%{version}.tar.gz
Patch0: 0001-fixed-broken-tests-in-issue-149-python-3-regression.patch
Source0: https://github.com/netaddr/netaddr/archive/refs/tags/%{version}.tar.gz#/netaddr-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-xml
%if %{with_check}
BuildRequires: python3-pip
BuildRequires: curl-devel
BuildRequires: openssl-devel
%endif
BuildArch: noarch
%description
@ -16,15 +23,7 @@ A network address manipulation library for Python
%package -n python3-netaddr
Summary: A network address manipulation library for Python
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-xml
Requires: python3
%if %{with_check}
BuildRequires: python3-pip
BuildRequires: curl-devel
BuildRequires: openssl-devel
%endif
%description -n python3-netaddr
A network address manipulation library for Python
@ -51,6 +50,9 @@ LANG=en_US.UTF-8 PYTHONPATH=./ %{python3} setup.py test
%{python3_sitelib}/*
%changelog
* Mon Jan 24 2022 Thomas Crain <thcrain@microsoft.com> - 0.8.0-1
- Upgrade to latest upstream version
* Fri Dec 03 2021 Thomas Crain <thcrain@microsoft.com> - 0.7.19-10
- Replace easy_install usage with pip in %%check sections

View File

@ -23344,8 +23344,8 @@
"type": "other",
"other": {
"name": "python-netaddr",
"version": "0.7.19",
"downloadUrl": "https://github.com/netaddr/netaddr/archive/netaddr-0.7.19.tar.gz"
"version": "0.8.0",
"downloadUrl": "https://github.com/netaddr/netaddr/archive/refs/tags/0.8.0.tar.gz"
}
}
},