Hello community, here is the log from the commit of package python-dnspython for openSUSE:Factory checked in at 2017-05-16 14:29:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old) and /work/SRC/openSUSE:Factory/.python-dnspython.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dnspython" Tue May 16 14:29:35 2017 rev:23 rq:493313 version:1.15.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes 2016-10-18 10:42:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-dnspython.new/python-dnspython.changes 2017-05-16 14:29:36.682160461 +0200 @@ -1,0 +2,7 @@ +Tue May 2 21:42:12 UTC 2017 - sor.ale...@meowr.ru + +- Update for the multipython build. +- Rename python-dnspython.asc to python-dnspython.keyring. +- Spec cleanup. + +------------------------------------------------------------------- Old: ---- python-dnspython.asc New: ---- python-dnspython.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dnspython.spec ++++++ --- /var/tmp/diff_new_pack.o4vvAM/_old 2017-05-16 14:29:37.506044720 +0200 +++ /var/tmp/diff_new_pack.o4vvAM/_new 2017-05-16 14:29:37.506044720 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,38 +16,49 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dnspython Version: 1.15.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/%{version}/dnspython-%{version}.tar.gz -Source2: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc -Source3: python-dnspython.asc -Patch0: https://github.com/rthalley/dnspython/pull/210.patch -# Add the readme as patch as not included in the tarball +Url: http://dnspython.org/ +Source: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz +Source2: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc +Source3: python-dnspython.keyring +# PATCH-FIX-UPSTREAM 210.patch git_...@avram.us -- https://github.com/rthalley/dnspython/pull/210.patch +Patch0: 210.patch +# PATCH-FEATURE-OPENSUSE readme.patch -- Add the readme as patch as not included in the tarball. Patch1: readme.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module ecdsa} +BuildRequires: %{python_module idna} +BuildRequires: %{python_module pycrypto} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: netcfg -BuildRequires: python-devel -BuildRequires: python-ecdsa -BuildRequires: python-idna -BuildRequires: python-pycrypto -BuildRequires: python-setuptools -BuildRequires: unzip +BuildRequires: python-rpm-macros Recommends: python-ecdsa Recommends: python-idna Recommends: python-pycrypto BuildArch: noarch %description -dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0. +dnspython is a DNS toolkit for Python. It supports almost all +record types. It can be used for queries, zone transfers, and +dynamic updates. It supports TSIG authenticated messages and EDNS0. + +dnspython provides both high and low level access to DNS. The high +level classes perform queries for data of a given name, type, and +class, and return an answer set. The low level classes allow direct +manipulation of DNS zones, messages, names, and records. + +dnspython originated at Nominum where it was developed to +facilitate the testing of DNS software. Nominum has generously +allowed it to be opened under a BSD-style licence. -dnspython provides both high and low level access to DNS. The high level classes perform queries for data of a given name, type, and class, and return an answer set. The low level classes allow direct manipulation of DNS zones, messages, names, and records. - -dnspython originated at Nominum where it was developed to facilitate the testing of DNS software. Nominum has generously allowed it to be open sourced under a BSD-style license. +%python_subpackages %prep %setup -q -n dnspython-%{version} @@ -56,19 +67,21 @@ %patch1 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check -# skip the resolver test suite as it requires an internet connection +# Skip the resolver test suite as it requires Internet connection. test -f tests/test_resolver.py && rm tests/test_resolver.py -python setup.py test +%python_exec setup.py test -%files -%defattr(-,root,root,-) -%doc ChangeLog LICENSE README.md examples -%{python_sitelib}/* +%files %{python_files} +%defattr(-,root,root) +%doc ChangeLog LICENSE README.md examples/ +%{python_sitelib}/dns/ +%{python_sitelib}/dnspython-%{version}-py%{python_version}.egg-info %changelog