update to 2.2.1
This commit is contained in:
parent
aceb37bc81
commit
39d0817c8a
21
backport-fix-missing-version-in-setup.cfg.patch
Normal file
21
backport-fix-missing-version-in-setup.cfg.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From a4e88cfb2dcb98c589bbc1eb7452c773faf46398 Mon Sep 17 00:00:00 2001
|
||||||
|
From: eaglegai <eaglegai@163.com>
|
||||||
|
Date: Thu, 27 Oct 2022 23:07:17 +0800
|
||||||
|
Subject: [PATCH] fix missing version in setup.cfg
|
||||||
|
|
||||||
|
Signed-off-by: eaglegai <eaglegai@163.com>
|
||||||
|
---
|
||||||
|
setup.cfg | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/setup.cfg b/setup.cfg
|
||||||
|
index a32ff8ce..cc7e3b0d 100644
|
||||||
|
--- a/setup.cfg
|
||||||
|
+++ b/setup.cfg
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
[metadata]
|
||||||
|
name = dnspython
|
||||||
|
+version = 2.2.1
|
||||||
|
author = Bob Halley
|
||||||
|
author_email = halley@dnspython.org
|
||||||
|
license = ISC
|
||||||
Binary file not shown.
BIN
dnspython-2.2.1.tar.gz
Normal file
BIN
dnspython-2.2.1.tar.gz
Normal file
Binary file not shown.
@ -55,8 +55,8 @@ diff -ruNa dnspython-2.1.0-org/tests/test_async.py dnspython-2.1.0/tests/test_as
|
|||||||
|
|
||||||
+_network_available = False
|
+_network_available = False
|
||||||
|
|
||||||
# Probe for IPv4 and IPv6
|
# Look for systemd-resolved, as it does dangling CNAME responses incorrectly.
|
||||||
query_addresses = []
|
#
|
||||||
diff -ruNa dnspython-2.1.0-org/tests/test_query.py dnspython-2.1.0/tests/test_query.py
|
diff -ruNa dnspython-2.1.0-org/tests/test_query.py dnspython-2.1.0/tests/test_query.py
|
||||||
--- dnspython-2.1.0-org/tests/test_query.py 2021-07-07 10:04:01.861405149 +0800
|
--- dnspython-2.1.0-org/tests/test_query.py 2021-07-07 10:04:01.861405149 +0800
|
||||||
+++ dnspython-2.1.0/tests/test_query.py 2021-07-07 10:05:44.431553273 +0800
|
+++ dnspython-2.1.0/tests/test_query.py 2021-07-07 10:05:44.431553273 +0800
|
||||||
|
|||||||
@ -13,17 +13,18 @@ messages, names, and records.
|
|||||||
|
|
||||||
Name: python-dns
|
Name: python-dns
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
Version: 2.1.0
|
Version: 2.2.1
|
||||||
Release: 2
|
Release: 1
|
||||||
License: ISC and MIT
|
License: ISC and MIT
|
||||||
URL: http://www.dnspython.org/
|
URL: http://www.dnspython.org/
|
||||||
Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz
|
Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: fix-failed-tests.patch
|
Patch0: fix-failed-tests.patch
|
||||||
|
Patch1: backport-fix-missing-version-in-setup.cfg.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-setuptools python3-pycryptodome python3-ecdsa
|
BuildRequires: python3-devel python3-setuptools python3-cryptography
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,7 +33,7 @@ BuildRequires: python3-pytest
|
|||||||
%package -n python3-dns
|
%package -n python3-dns
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
%{?python_provide:%python_provide python3-dns}
|
%{?python_provide:%python_provide python3-dns}
|
||||||
Requires: python3-pycryptodome python3-ecdsa
|
Requires: python3-cryptography
|
||||||
|
|
||||||
%description -n python3-dns
|
%description -n python3-dns
|
||||||
%{_description}
|
%{_description}
|
||||||
@ -44,6 +45,7 @@ Requires: python3-pycryptodome python3-ecdsa
|
|||||||
find examples -type f | xargs chmod a-x
|
find examples -type f | xargs chmod a-x
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
sed -i 's/setup_requires = setuptools>=44; wheel; setuptools_scm\[toml\]>=3.4.3/setup_requires = setuptools>=44;/' setup.cfg
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -61,6 +63,9 @@ pytest
|
|||||||
%doc examples
|
%doc examples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 27 2022 gaihuiying <eaglegai@163.com> - 2.2.1-1
|
||||||
|
- update to 2.2.1
|
||||||
|
|
||||||
* Sat Jan 08 2022 quanhongfei<quanhongfei@huawei.com> - 2.1.0-2
|
* Sat Jan 08 2022 quanhongfei<quanhongfei@huawei.com> - 2.1.0-2
|
||||||
- fix tests failed
|
- fix tests failed
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user