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