forked from pool/python-py3dns
Accepting request 729886 from devel:languages:python
- Update to 3.2.1: * various minor fixes - Rebase patch python3-py3dns-handle-absent-resolv.patch OBS-URL: https://build.opensuse.org/request/show/729886 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py3dns?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e88c0648c4d38a880f08aeb05a6e5cb48b8ce2602d381caafc6c71698ee3c21
|
||||
size 30482
|
3
py3dns-3.2.1.tar.gz
Normal file
3
py3dns-3.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f07d4463e98d9859ce0280c3eaa57da670ad623f6d4d3285c67dca23d7045e4
|
||||
size 30691
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 12:56:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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 <scott@kitterman.com>
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user