diff --git a/py3dns-3.2.0.tar.gz b/py3dns-3.2.0.tar.gz deleted file mode 100644 index dd7c738..0000000 --- a/py3dns-3.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e88c0648c4d38a880f08aeb05a6e5cb48b8ce2602d381caafc6c71698ee3c21 -size 30482 diff --git a/py3dns-3.2.1.tar.gz b/py3dns-3.2.1.tar.gz new file mode 100644 index 0000000..cf1bc60 --- /dev/null +++ b/py3dns-3.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f07d4463e98d9859ce0280c3eaa57da670ad623f6d4d3285c67dca23d7045e4 +size 30691 diff --git a/python-py3dns.changes b/python-py3dns.changes index 536eddf..b9a7dd7 100644 --- a/python-py3dns.changes +++ b/python-py3dns.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 10 12:56:30 UTC 2019 - Tomáš Chvátal + +- Update to 3.2.1: + * various minor fixes +- Rebase patch python3-py3dns-handle-absent-resolv.patch + ------------------------------------------------------------------- Thu Aug 2 08:34:17 UTC 2018 - tchvatal@suse.com diff --git a/python-py3dns.spec b/python-py3dns.spec index 0552f84..559953b 100644 --- a/python-py3dns.spec +++ b/python-py3dns.spec @@ -1,7 +1,7 @@ # # spec file for package python-py3dns # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-py3dns -Version: 3.2.0 +Version: 3.2.1 Release: 0 Summary: Python module for DNS (Domain Name Service) License: CNRI-Python diff --git a/python3-py3dns-handle-absent-resolv.patch b/python3-py3dns-handle-absent-resolv.patch index d9bd198..fafcfc5 100644 --- a/python3-py3dns-handle-absent-resolv.patch +++ b/python3-py3dns-handle-absent-resolv.patch @@ -7,20 +7,20 @@ Subject: [PATCH] Handle /etc/resolv.conf DNS/Base.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -diff --git a/DNS/Base.py b/DNS/Base.py -index 4a70613..b5d97c8 100644 ---- a/DNS/Base.py -+++ b/DNS/Base.py -@@ -11,7 +11,7 @@ Changes for Python3 port © 2011-14 Scott Kitterman +Index: py3dns-3.2.1/DNS/Base.py +=================================================================== +--- py3dns-3.2.1.orig/DNS/Base.py ++++ py3dns-3.2.1/DNS/Base.py +@@ -11,7 +11,7 @@ Changes for Python3 port © 2011-14 Scot Base functionality. Request and Response classes, that sort of thing. """ -import socket, string, types, time, select +import socket, string, types, time, select, warnings + import errno from . import Type,Class,Opcode import asyncore - # -@@ -49,8 +49,12 @@ defaults= { 'protocol':'udp', 'port':53, 'opcode':Opcode.QUERY, +@@ -50,8 +50,12 @@ defaults= { 'protocol':'udp', 'port':53, def ParseResolvConf(resolv_path="/etc/resolv.conf"): "parses the /etc/resolv.conf file and sets defaults for name servers" @@ -35,6 +35,3 @@ index 4a70613..b5d97c8 100644 def ParseResolvConfFromIterable(lines): "parses a resolv.conf formatted stream and sets defaults for name servers" --- -2.9.3 -