Accepting request 183064 from devel:languages:python

- Package LICENSE, use proper upstream URL
- Run testsuite
- Cleanup macro usage

- 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/183064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=14
This commit is contained in:
Stephan Kulow 2013-07-16 14:14:48 +00:00 committed by Git OBS Bridge
commit 34f8eeecde
5 changed files with 39 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4dc21450ec6ac94dd105b4e5f39a75b404ad45a30869ff73acb6fd4d9974f857
size 124416

View File

@ -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-----

3
dnspython-1.11.0.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6da2692a9fee03e5117309f511a39869d27d8a79f825d2515523300de14188d9
size 220451

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
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
- 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

View File

@ -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
@ -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}
Version: 1.10.0
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}.tar.gz
Source2: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz.asc
Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildRequires: python-nose
BuildRequires: unzip
%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