diff --git a/0001-Fix-missing-import.patch b/0001-Fix-missing-import.patch new file mode 100644 index 0000000000000000000000000000000000000000..9d7cc63a45382f69bc4920b7c26a1b6f1de0cb4c --- /dev/null +++ b/0001-Fix-missing-import.patch @@ -0,0 +1,24 @@ +From 20e9b7f9d4dcdec5f0b92d7bc72be2566826fc83 Mon Sep 17 00:00:00 2001 +From: Martin Horak +Date: Mon, 24 Jan 2022 20:47:27 +0100 +Subject: [PATCH] Fix missing import. + +--- + dns/tsigkeyring.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/dns/tsigkeyring.py b/dns/tsigkeyring.py +index 47a1f79..788581c 100644 +--- a/dns/tsigkeyring.py ++++ b/dns/tsigkeyring.py +@@ -20,6 +20,7 @@ + import base64 + + import dns.name ++import dns.tsig + + + def from_text(textring): +-- +2.33.0 + diff --git a/python-dns.spec b/python-dns.spec index 1c13b0cad4151046f1254f138c47365a9117e47e..af93b3c0614ff683d8af2a7f453f712cbb3ed3f6 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -14,7 +14,7 @@ messages, names, and records. Name: python-dns Summary: %{sum} Version: 2.2.1 -Release: 2 +Release: 3 License: ISC and MIT URL: http://www.dnspython.org/ Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz @@ -22,6 +22,7 @@ Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspyt Patch0: fix-failed-tests.patch Patch1: backport-fix-missing-version-in-setup.cfg.patch Patch2: 0001-fix-win32util.py-file-mode.patch +Patch3: 0001-Fix-missing-import.patch BuildArch: noarch @@ -64,6 +65,9 @@ pytest %doc examples %changelog +* Fri Jan 13 2023 caofei - 2.2.1-3 +- Fix missing import + * Mon Jan 9 2023 caofei - 2.2.1-2 - fix win32util.py file mode