From 33c43c28ca5268a7ac684c06ba0bf632293c6c565d3b9284ce7e11c12dd66660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 1 Mar 2019 09:31:22 +0000 Subject: [PATCH 1/2] - update to 1.2.0 - Fix dependencies * Add support for Python 3.7 * Fix CNAME test * Add examples with `async` and `await` * Fix Python version check * Add gethostbyaddr OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiodns?expand=0&rev=8 --- aiodns-1.1.1.tar.gz | 3 --- aiodns-1.2.0.tar.gz | 3 +++ python-aiodns.changes | 11 +++++++++++ python-aiodns.spec | 14 +++++++++----- 4 files changed, 23 insertions(+), 8 deletions(-) delete mode 100644 aiodns-1.1.1.tar.gz create mode 100644 aiodns-1.2.0.tar.gz diff --git a/aiodns-1.1.1.tar.gz b/aiodns-1.1.1.tar.gz deleted file mode 100644 index e13a7bb..0000000 --- a/aiodns-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a91cd89880a163005da698da5f1779ebe0ba752a927d4244c0dd99c34320fb7d -size 5711 diff --git a/aiodns-1.2.0.tar.gz b/aiodns-1.2.0.tar.gz new file mode 100644 index 0000000..a6fe6fc --- /dev/null +++ b/aiodns-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10fbdd52ba0e5523e12fb863f892fc8ea7c6da2fa42f12c748e3b704464c6824 +size 6173 diff --git a/python-aiodns.changes b/python-aiodns.changes index a3d5953..4478f35 100644 --- a/python-aiodns.changes +++ b/python-aiodns.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Mar 1 09:30:55 UTC 2019 - Ondřej Súkup + +- update to 1.2.0 +- Fix dependencies + * Add support for Python 3.7 + * Fix CNAME test + * Add examples with `async` and `await` + * Fix Python version check + * Add gethostbyaddr + ------------------------------------------------------------------- Fri May 11 21:52:30 UTC 2018 - toddrme2178@gmail.com diff --git a/python-aiodns.spec b/python-aiodns.spec index 7871142..2ce86f3 100644 --- a/python-aiodns.spec +++ b/python-aiodns.spec @@ -1,7 +1,7 @@ # # spec file for package python-aiodns # -# 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,7 +12,7 @@ # 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/ # @@ -20,8 +20,9 @@ %bcond_with tests %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-aiodns -Version: 1.1.1 +Version: 1.2.0 Release: 0 Summary: Simple DNS resolver for asyncio License: MIT @@ -29,11 +30,14 @@ Group: Development/Libraries/Python Url: https://github.com/saghul/aiodns/releases Source0: https://github.com/saghul/aiodns/archive/aiodns-%{version}.tar.gz BuildRequires: %{python_module setuptools} +Requires: python-pycares >= 3.0.0 +Requires: python-typing BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with tests} -BuildRequires: python-pycares -BuildRequires: python-trollius +BuildRequires: %{python_module pycares} +BuildRequires: %{python_module trollius} +BuildRequires: %{python_module typing} %endif BuildArch: noarch From 7279e0ba0ecb603cbfaa98cb91045f62838f82107b1bee72510aa2442f09ce2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 1 Mar 2019 12:30:27 +0000 Subject: [PATCH 2/2] fix deps OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiodns?expand=0&rev=9 --- python-aiodns.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-aiodns.spec b/python-aiodns.spec index 2ce86f3..40acbd1 100644 --- a/python-aiodns.spec +++ b/python-aiodns.spec @@ -20,7 +20,6 @@ %bcond_with tests %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-aiodns Version: 1.2.0 Release: 0 @@ -31,13 +30,15 @@ Url: https://github.com/saghul/aiodns/releases Source0: https://github.com/saghul/aiodns/archive/aiodns-%{version}.tar.gz BuildRequires: %{python_module setuptools} Requires: python-pycares >= 3.0.0 +%ifpython2 Requires: python-typing +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with tests} BuildRequires: %{python_module pycares} BuildRequires: %{python_module trollius} -BuildRequires: %{python_module typing} +BuildRequires: python-typing %endif BuildArch: noarch