From c93d773243854f77dc6f5905010eb554dc71915f03b61d4d5805848458089dca Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 11 Jul 2013 15:02:49 +0000 Subject: [PATCH 1/2] Accepting request 182832 from home:dirkmueller:branches:devel:languages:python - update to 1.11.0: * TLSA RR support * Added set_flags() method to dns.resolver.Resolver * Names with offsets >= 2^14 are no longer added to the compression table. * The "::" syntax is not used to shorten a single 16-bit section of the text form an IPv6 address. * Empty rdatasets are not printed. * DNSKEY key tags are no longer assumed to be unique. OBS-URL: https://build.opensuse.org/request/show/182832 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=24 --- dnspython-1.10.0.tar.gz | 3 --- dnspython-1.10.0.tar.gz.asc | 11 ----------- dnspython-1.11.0.zip | 3 +++ python-dnspython.changes | 13 +++++++++++++ python-dnspython.spec | 8 ++++---- 5 files changed, 20 insertions(+), 18 deletions(-) delete mode 100644 dnspython-1.10.0.tar.gz delete mode 100644 dnspython-1.10.0.tar.gz.asc create mode 100644 dnspython-1.11.0.zip diff --git a/dnspython-1.10.0.tar.gz b/dnspython-1.10.0.tar.gz deleted file mode 100644 index b7bca52..0000000 --- a/dnspython-1.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4dc21450ec6ac94dd105b4e5f39a75b404ad45a30869ff73acb6fd4d9974f857 -size 124416 diff --git a/dnspython-1.10.0.tar.gz.asc b/dnspython-1.10.0.tar.gz.asc deleted file mode 100644 index efb84d3..0000000 --- a/dnspython-1.10.0.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (Darwin) - -iQEUAwUAT4Gp63249fb/9dHeAQLoSwf2O2d4uidkvPy+EHwp0ysojUnSQ7vNyc0k -8dLZuBXiDXXU2ScftIDtkFaJHKY0hQ16GahzscKuVa8iB+/9//G0xhUtkUmBSEAs -+Q/yLhwZyCYP78FHHrD8THvgfHZTjeLabFGy9IhRP4CuqXLp5vfnLg3U8dk0bskF -Dze/rrfN+qHr8wSEV/3OTSqPbB+QvsIlSLGlkg50dPJmBDURs0Pt5zHcuxdbhIzx -ThLVOLxj9JfgGiXVyO4VCD5gIA6M7PDiVthU026i1ODfgN+ad5vyPOvNepAzDXl6 -KMwWHoWb6KC5Mci5G++j6Fpzp/UuHBjrfExbKhD/MdfKc9ccLPNb -=l1Ls ------END PGP SIGNATURE----- diff --git a/dnspython-1.11.0.zip b/dnspython-1.11.0.zip new file mode 100644 index 0000000..4dc95dd --- /dev/null +++ b/dnspython-1.11.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6da2692a9fee03e5117309f511a39869d27d8a79f825d2515523300de14188d9 +size 220451 diff --git a/python-dnspython.changes b/python-dnspython.changes index 910787d..5c4d6ff 100644 --- a/python-dnspython.changes +++ b/python-dnspython.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jul 11 14:23:49 UTC 2013 - dmueller@suse.com + +- update to 1.11.0: + * TLSA RR support + * Added set_flags() method to dns.resolver.Resolver + * Names with offsets >= 2^14 are no longer added to the compression + table. + * The "::" syntax is not used to shorten a single 16-bit section of + the text form an IPv6 address. + * Empty rdatasets are not printed. + * DNSKEY key tags are no longer assumed to be unique. + ------------------------------------------------------------------- Thu May 31 14:09:31 UTC 2012 - cfarrell@suse.com diff --git a/python-dnspython.spec b/python-dnspython.spec index 3899677..ce903e8 100644 --- a/python-dnspython.spec +++ b/python-dnspython.spec @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,16 +22,16 @@ %define mod_name dnspython Name: python-%{mod_name} -Version: 1.10.0 +Version: 1.11.0 Release: 0 Url: http://www.dnspython.org/ Summary: A DNS toolkit for Python License: ISC Group: Development/Languages/Python -Source: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz -Source2: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz.asc +Source: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +BuildRequires: unzip %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 From 6a702ac16669656580ef40786980af8220986695018de3f29908ceea58f44e2f Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 15 Jul 2013 11:34:47 +0000 Subject: [PATCH 2/2] - Package LICENSE, use proper upstream URL - Run testsuite - Cleanup macro usage OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=25 --- python-dnspython.changes | 7 +++++++ python-dnspython.spec | 34 +++++++++++++--------------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/python-dnspython.changes b/python-dnspython.changes index 5c4d6ff..9beca92 100644 --- a/python-dnspython.changes +++ b/python-dnspython.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jul 15 11:37:52 UTC 2013 - speilicke@suse.com + +- Package LICENSE, use proper upstream URL +- Run testsuite +- Cleanup macro usage + ------------------------------------------------------------------- Thu Jul 11 14:23:49 UTC 2013 - dmueller@suse.com diff --git a/python-dnspython.spec b/python-dnspython.spec index ce903e8..f24a38c 100644 --- a/python-dnspython.spec +++ b/python-dnspython.spec @@ -16,28 +16,23 @@ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -%define mod_name dnspython - -Name: python-%{mod_name} +Name: python-dnspython Version: 1.11.0 Release: 0 Url: http://www.dnspython.org/ Summary: A DNS toolkit for Python License: ISC Group: Development/Languages/Python -Source: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.zip +Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +BuildRequires: python-nose BuildRequires: unzip -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch %endif -%endif %description dnspython is a DNS toolkit for Python. It supports almost all record @@ -50,24 +45,21 @@ set. The low level classes allow direct manipulation of DNS zones, messages, names, and records. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n dnspython-%{version} %build -export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +nosetests + %files %defattr(-,root,root) -# You may have to add additional files here (documentation and binaries mostly) -%python_sitelib/dns* -%if 0%{?sles_version} != 10 -%python_sitelib/*.egg-info -%endif -%doc README ChangeLog -%doc examples -%doc tests +%doc LICENSE README examples +%{python_sitelib}/dns +%{python_sitelib}/dnspython-%{version}-py%{py_ver}.egg-info %changelog