From 153ca534556ec3f395dd706633c4548203b3a5ea Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 8 Dec 2006 17:07:27 +0000 Subject: [PATCH 01/15] Bump release for rebuild with Python 2.5 --- python-dns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns.spec b/python-dns.spec index beb9419..f9791eb 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,7 +2,7 @@ Name: python-dns Version: 1.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -59,6 +59,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Fri Dec 8 2006 Jeffrey C. Ollie - 1.4.0-3 +- Bump release for rebuild with Python 2.5 + * Mon Aug 14 2006 Jeffrey C. Ollie - 1.4.0-2 - No longer ghost *.pyo files, thus further simplifying the files section. From 2a4b27ec1b4c3c8fc7fc161d23d06a0d7661f0c7 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Thu, 11 Jan 2007 16:31:35 +0000 Subject: [PATCH 02/15] Update to 1.5.0 --- .cvsignore | 2 +- python-dns.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 2e5c05a..9264e57 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dnspython-1.4.0.tar.gz +dnspython-1.5.0.tar.gz diff --git a/python-dns.spec b/python-dns.spec index f9791eb..a46419a 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -1,8 +1,8 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-dns -Version: 1.4.0 -Release: 3%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -59,6 +59,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Thu Jan 11 2007 Jeffrey C. Ollie - 1.5.0-1 +- Update to 1.5.0 + * Fri Dec 8 2006 Jeffrey C. Ollie - 1.4.0-3 - Bump release for rebuild with Python 2.5 diff --git a/sources b/sources index 2619f31..9ccc812 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7f7e58379235b2b626620a7bda810270 dnspython-1.4.0.tar.gz +8b9bfb32988d03e49cdf8b3de7c7e6df dnspython-1.5.0.tar.gz From c063a3c56ccb0c88c59732abf7eb8b31319e28e9 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Tue, 9 Oct 2007 16:26:23 +0000 Subject: [PATCH 03/15] Follow new Python egg packaging specs. --- python-dns.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/python-dns.spec b/python-dns.spec index a46419a..e019a62 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,7 +2,7 @@ Name: python-dns Version: 1.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -12,7 +12,11 @@ Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.ta BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: python-devel +%if 0%{?fedora} >= 8 +BuildRequires: python-setuptools-devel +%else +BuildRequires: python-setuptools +%endif %description dnspython is a DNS toolkit for Python. It supports almost all record @@ -32,11 +36,11 @@ manipulation of DNS zones, messages, names, and records. find examples -type f | xargs chmod a-x %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build %install rm -rf %{buildroot} -%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot} %check pushd tests @@ -56,9 +60,13 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %doc ChangeLog LICENSE README TODO examples +%{python_sitelib}/*egg-info %{python_sitelib}/dns %changelog +* Tue Oct 9 2007 Jeffrey C. Ollie - 1.5.0-2 +- Follow new Python egg packaging specs + * Thu Jan 11 2007 Jeffrey C. Ollie - 1.5.0-1 - Update to 1.5.0 From e53ba82e445fa6753d5d9591b84856fecfa5e2a8 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sun, 9 Dec 2007 04:39:21 +0000 Subject: [PATCH 04/15] Update to 1.6.0 --- .cvsignore | 2 +- python-dns.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 9264e57..7ba8dce 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dnspython-1.5.0.tar.gz +dnspython-1.6.0.tar.gz diff --git a/python-dns.spec b/python-dns.spec index e019a62..c8813e0 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -1,8 +1,8 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-dns -Version: 1.5.0 -Release: 2%{?dist} +Version: 1.6.0 +Release: 1%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -64,6 +64,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Sat Dec 4 2007 Jeffrey C. Ollie - 1.6.0-1 +- Update to 1.6.0 + * Tue Oct 9 2007 Jeffrey C. Ollie - 1.5.0-2 - Follow new Python egg packaging specs diff --git a/sources b/sources index 9ccc812..6fce215 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8b9bfb32988d03e49cdf8b3de7c7e6df dnspython-1.5.0.tar.gz +15b8eed42689bd719ec1878a584787ea dnspython-1.6.0.tar.gz From 457cff16d64d814bc79634756600f94a57a8114b Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 29 Aug 2008 21:46:44 +0000 Subject: [PATCH 05/15] fix license tag --- python-dns.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dns.spec b/python-dns.spec index c8813e0..b27571d 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,11 +2,11 @@ Name: python-dns Version: 1.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DNS toolkit for Python Group: Development/Languages -License: BSD-like +License: MIT URL: http://www.dnspython.org/ Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -64,6 +64,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Fri Aug 29 2008 Tom "spot" Callaway - 1.6.0-2 +- fix license tag + * Sat Dec 4 2007 Jeffrey C. Ollie - 1.6.0-1 - Update to 1.6.0 From 5a39cd4ab6b3fd8d6a0f8e49c71957f719e29bc1 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 29 Nov 2008 06:37:15 +0000 Subject: [PATCH 06/15] - Rebuild for Python 2.6 --- python-dns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns.spec b/python-dns.spec index b27571d..3304657 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,7 +2,7 @@ Name: python-dns Version: 1.6.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -64,6 +64,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Sat Nov 29 2008 Jeffrey C. Ollie - 1.6.0-3 +- Rebuild for Python 2.6 + * Fri Aug 29 2008 Tom "spot" Callaway - 1.6.0-2 - fix license tag From b404c7e852384a7775d2d7f324d8427c6c35aead Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Thu, 26 Feb 2009 21:13:55 +0000 Subject: [PATCH 07/15] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- python-dns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns.spec b/python-dns.spec index 3304657..5f3c23a 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,7 +2,7 @@ Name: python-dns Version: 1.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -64,6 +64,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Thu Feb 26 2009 Fedora Release Engineering - 1.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Sat Nov 29 2008 Jeffrey C. Ollie - 1.6.0-3 - Rebuild for Python 2.6 From dda336d9702ea738eced763fcec7dd5c4bceae62 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 19 Jun 2009 15:37:07 +0000 Subject: [PATCH 08/15] - New since 1.7.0: - - Nothing - - Bugs fixed since 1.7.0: - - The 1.7.0 kitting process inadventently omitted the code for the - DLV RR. - - Negative DDNS prerequisites are now handled correctly. --- .cvsignore | 2 +- python-dns.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++--- sources | 2 +- 3 files changed, 60 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 7ba8dce..99674cc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dnspython-1.6.0.tar.gz +dnspython-1.7.1.tar.gz diff --git a/python-dns.spec b/python-dns.spec index 5f3c23a..222141f 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -1,8 +1,8 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-dns -Version: 1.6.0 -Release: 4%{?dist} +Version: 1.7.1 +Release: 1%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -29,7 +29,7 @@ class, and return an answer set. The low level classes allow direct manipulation of DNS zones, messages, names, and records. %prep -%setup -q -n dnspython-%{version} +%setup0 -q -n dnspython-%{version} # strip executable permissions so that we don't pick up dependencies # from documentation @@ -64,6 +64,61 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Fri Jun 19 2009 Jeffrey C. Ollie - 1.7.1-1 +- New since 1.7.0: +- +- Nothing +- +- Bugs fixed since 1.7.0: +- +- The 1.7.0 kitting process inadventently omitted the code for the +- DLV RR. +- +- Negative DDNS prerequisites are now handled correctly. + +* Fri Jun 19 2009 Jeffrey C. Ollie - 1.7.0-1 +- New since 1.6.0: +- +- Rdatas now have a to_digestable() method, which returns the +- DNSSEC canonical form of the rdata, suitable for use in +- signature computations. +- +- The NSEC3, NSEC3PARAM, DLV, and HIP RR types are now supported. +- +- An entropy module has been added and is used to randomize query ids. +- +- EDNS0 options are now supported. +- +- UDP IXFR is now supported. +- +- The wire format parser now has a 'one_rr_per_rrset' mode, which +- suppresses the usual coalescing of all RRs of a given type into a +- single RRset. +- +- Various helpful DNSSEC-related constants are now defined. +- +- The resolver's query() method now has an optional 'source' parameter, +- allowing the source IP address to be specified. +- +- Bugs fixed since 1.6.0: +- +- On Windows, the resolver set the domain incorrectly. +- +- DS RR parsing only allowed one Base64 chunk. +- +- TSIG validation didn't always use absolute names. +- +- NSEC.to_text() only printed the last window. +- +- We did not canonicalize IPv6 addresses before comparing them; we +- would thus treat equivalent but different textual forms, e.g. +- "1:00::1" and "1::1" as being non-equivalent. +- +- If the peer set a TSIG error, we didn't raise an exception. +- +- Some EDNS bugs in the message code have been fixed (see the ChangeLog +- for details). + * Thu Feb 26 2009 Fedora Release Engineering - 1.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/sources b/sources index 6fce215..0f8507d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -15b8eed42689bd719ec1878a584787ea dnspython-1.6.0.tar.gz +870f52ca78b4f37ac7a4e718d337334c dnspython-1.7.1.tar.gz From 1518dc08e0242754d287afb6dc719cd7337931b0 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Sun, 26 Jul 2009 20:18:59 +0000 Subject: [PATCH 09/15] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- python-dns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns.spec b/python-dns.spec index 222141f..12f5f6e 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,7 +2,7 @@ Name: python-dns Version: 1.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -64,6 +64,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Sun Jul 26 2009 Fedora Release Engineering - 1.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Fri Jun 19 2009 Jeffrey C. Ollie - 1.7.1-1 - New since 1.7.0: - From 2206c4fe0f9f98587e7113e8453145d61bdc4653 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 23:31:54 +0000 Subject: [PATCH 10/15] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c8f0072..657ea7a 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := python-dns SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 2a756ca254add7fdf70ddf520d3892081475444d Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Wed, 27 Jan 2010 06:11:51 +0000 Subject: [PATCH 11/15] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- .cvsignore | 3 ++- python-dns.spec | 5 +++-- sources | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 99674cc..f591382 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ -dnspython-1.7.1.tar.gz +dnspython-1.8.0.tar.gz +dnspython-1.8.0.tar.gz.asc diff --git a/python-dns.spec b/python-dns.spec index 12f5f6e..6262cb1 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -1,14 +1,15 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-dns -Version: 1.7.1 -Release: 2%{?dist} +Version: 1.8.0 +Release: 1%{?dist} Summary: DNS toolkit for Python Group: Development/Languages License: MIT URL: http://www.dnspython.org/ Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz +Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch diff --git a/sources b/sources index 0f8507d..803a35f 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -870f52ca78b4f37ac7a4e718d337334c dnspython-1.7.1.tar.gz +77f379e0cb21e11470a35359e6211c53 dnspython-1.8.0.tar.gz +7234413d2cddf2ab1eb54bcf82e4f8bd dnspython-1.8.0.tar.gz.asc From a9675a970b1fbb0c825a96a091500295d19685ea Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Wed, 27 Jan 2010 06:40:16 +0000 Subject: [PATCH 12/15] - Fix error --- python-dns.spec | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/python-dns.spec b/python-dns.spec index 6262cb1..46fc86a 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,14 +2,14 @@ Name: python-dns Version: 1.8.0 -Release: 1%{?dist} +Release: 1.1%{?dist} Summary: DNS toolkit for Python Group: Development/Languages License: MIT URL: http://www.dnspython.org/ Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz -Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc +Source1: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -65,6 +65,42 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Wed Jan 27 2010 Jeffrey C. Ollie - 1.8.0-1.1 +- Fix error + +* Wed Jan 27 2010 Jeffrey C. Ollie - 1.8.0-1 +- New since 1.7.1: +- +- Support for hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and +- hmac-sha512 has been contributed by Kevin Chen. +- +- The tokenizer's tokens are now Token objects instead of (type, +- value) tuples. +- +- Bugs fixed since 1.7.1: +- +- Escapes in masterfiles now work correctly. Previously they were +- only working correctly when the text involved was part of a domain +- name. +- +- When constructing a DDNS update, if the present() method was used +- with a single rdata, a zero TTL was not added. +- +- The entropy pool needed locking to be thread safe. +- +- The entropy pool's reading of /dev/random could cause dnspython to +- block. +- +- The entropy pool did buffered reads, potentially consuming more +- randomness than we needed. +- +- The entropy pool did not seed with high quality randomness on +- Windows. +- +- SRV records were compared incorrectly. +- +- In the e164 query function, the resolver parameter was not used. + * Sun Jul 26 2009 Fedora Release Engineering - 1.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 00b06723ab2d5b568e9784a94a7335e108d30a93 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Thu, 22 Jul 2010 04:08:45 +0000 Subject: [PATCH 13/15] - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild --- python-dns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-dns.spec b/python-dns.spec index 46fc86a..05db834 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,7 +2,7 @@ Name: python-dns Version: 1.8.0 -Release: 1.1%{?dist} +Release: 2.1%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -65,6 +65,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Thu Jul 22 2010 David Malcolm - 1.8.0-2.1 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + * Wed Jan 27 2010 Jeffrey C. Ollie - 1.8.0-1.1 - Fix error From f2cd60f792f3e4288fbcde54bdcb54328ae5bdbf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 10:18:03 +0000 Subject: [PATCH 14/15] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 657ea7a..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-dns -# $Id$ -NAME := python-dns -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From 5a0206fd8334016fe701380ca06ef658d8998281 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 13 Aug 2010 12:04:20 -0500 Subject: [PATCH 15/15] - Add a patch from upstream to fix a Python 2.7 issue. --- ...hm-was-being-passed-to-use_tsig-inco.patch | 36 +++++++++++++++++++ python-dns.spec | 7 +++- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 0001-The-TSIG-algorithm-was-being-passed-to-use_tsig-inco.patch diff --git a/0001-The-TSIG-algorithm-was-being-passed-to-use_tsig-inco.patch b/0001-The-TSIG-algorithm-was-being-passed-to-use_tsig-inco.patch new file mode 100644 index 0000000..9e300a4 --- /dev/null +++ b/0001-The-TSIG-algorithm-was-being-passed-to-use_tsig-inco.patch @@ -0,0 +1,36 @@ +From e80c56c6c5c6dd7aa12c439b1f3b664811f65dcb Mon Sep 17 00:00:00 2001 +From: Bob Halley +Date: Wed, 10 Mar 2010 14:22:32 +0000 +Subject: [PATCH] The TSIG algorithm was being passed to use_tsig() incorrectly. + +--- +diff --git a/dns/resolver.py b/dns/resolver.py +index 372d7d8..cd0e5f8 100644 +--- a/dns/resolver.py ++++ b/dns/resolver.py +@@ -593,7 +593,8 @@ class Resolver(object): + return answer + request = dns.message.make_query(qname, rdtype, rdclass) + if not self.keyname is None: +- request.use_tsig(self.keyring, self.keyname, self.keyalgorithm) ++ request.use_tsig(self.keyring, self.keyname, ++ algorithm=self.keyalgorithm) + request.use_edns(self.edns, self.ednsflags, self.payload) + response = None + # +diff --git a/dns/update.py b/dns/update.py +index 7d42636..97aea18 100644 +--- a/dns/update.py ++++ b/dns/update.py +@@ -56,7 +56,7 @@ class Update(dns.message.Message): + self.find_rrset(self.question, self.origin, rdclass, dns.rdatatype.SOA, + create=True, force_unique=True) + if not keyring is None: +- self.use_tsig(keyring, keyname, keyalgorithm) ++ self.use_tsig(keyring, keyname, algorithm=keyalgorithm) + + def _add_rr(self, name, ttl, rd, deleting=None, section=None): + """Add a single RR to the update section.""" +-- +1.7.2.1 + diff --git a/python-dns.spec b/python-dns.spec index 05db834..222877f 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,7 +2,7 @@ Name: python-dns Version: 1.8.0 -Release: 2.1%{?dist} +Release: 3%{?dist} Summary: DNS toolkit for Python Group: Development/Languages @@ -10,6 +10,7 @@ License: MIT URL: http://www.dnspython.org/ Source0: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz Source1: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc +Patch0: 0001-The-TSIG-algorithm-was-being-passed-to-use_tsig-inco.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -31,6 +32,7 @@ manipulation of DNS zones, messages, names, and records. %prep %setup0 -q -n dnspython-%{version} +%patch0 -p1 # strip executable permissions so that we don't pick up dependencies # from documentation @@ -65,6 +67,9 @@ rm -rf %{buildroot} %{python_sitelib}/dns %changelog +* Fri Aug 13 2010 Jeffrey C. Ollie - 1.8.0-3 +- Add a patch from upstream to fix a Python 2.7 issue. + * Thu Jul 22 2010 David Malcolm - 1.8.0-2.1 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild