From 8b1245ca5f5c77b542b09aad423a5ffc7c4d97eb44d8316972fa031f9be47fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 9 Jul 2020 08:02:49 +0000 Subject: [PATCH] Accepting request 819687 from home:buschmann23:branches:devel:languages:python Sorry, the last SR had an error. I forgot to apply the patch and than noticed that the patch was not applicable. This fixes it. - fix python-aiodns-2.0.0-fix-typing-dependency.patch and really apply it OBS-URL: https://build.opensuse.org/request/show/819687 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiodns?expand=0&rev=14 --- python-aiodns-2.0.0-fix-typing-dependency.patch | 12 +++++------- python-aiodns.changes | 6 ++++++ python-aiodns.spec | 1 + 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/python-aiodns-2.0.0-fix-typing-dependency.patch b/python-aiodns-2.0.0-fix-typing-dependency.patch index 1ce27c5..f9dfcb1 100644 --- a/python-aiodns-2.0.0-fix-typing-dependency.patch +++ b/python-aiodns-2.0.0-fix-typing-dependency.patch @@ -5,17 +5,15 @@ Subject: [PATCH] setup: typing exists since Python 3.5 Fix #71. --- - setup.py | 2 +- + setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/setup.py b/setup.py -index 415a2af..bcf54ce 100644 ---- a/setup.py -+++ b/setup.py -@@ -19,7 +19,7 @@ def get_version(): +--- a/setup.py 2019-03-02 13:01:34.000000000 +0100 ++++ b/setup.py 2020-07-09 09:44:16.606974490 +0200 +@@ -18,7 +18,7 @@ + url = "http://github.com/saghul/aiodns", description = "Simple DNS resolver for asyncio", long_description = codecs.open("README.rst", encoding="utf-8").read(), - long_description_content_type = "text/x-rst", - install_requires = ['pycares>=3.0.0', 'typing; python_version<"3.7"'], + install_requires = ['pycares>=3.0.0', 'typing; python_version<"3.5"'], packages = ['aiodns'], diff --git a/python-aiodns.changes b/python-aiodns.changes index 573eab2..cd724bb 100644 --- a/python-aiodns.changes +++ b/python-aiodns.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 9 07:47:23 UTC 2020 - Matthias Fehring + +- fix python-aiodns-2.0.0-fix-typing-dependency.patch and really + apply it + ------------------------------------------------------------------- Thu Jul 9 05:55:21 UTC 2020 - Matthias Fehring diff --git a/python-aiodns.spec b/python-aiodns.spec index 75a957b..933cbec 100644 --- a/python-aiodns.spec +++ b/python-aiodns.spec @@ -48,6 +48,7 @@ Simple DNS resolver for asyncio module. %prep %setup -q -n aiodns-aiodns-%{version} +%patch0 -p1 %build %python_build