From 17aa6445d7b18be1886117e14360398eba4691d3 Mon Sep 17 00:00:00 2001 From: Matthieu Saulnier Date: Jan 14 2021 23:14:06 +0000 Subject: Add patch to fix epel8 installation package --- diff --git a/.gitignore b/.gitignore index 8ae2485..46bddfd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /aiodns-1.1.1.tar.gz /aiodns-2.0.0.tar.gz +/setup-typing-exists-since-Python-35.patch diff --git a/python-aiodns.spec b/python-aiodns.spec index 4fbfc9a..eff49e7 100644 --- a/python-aiodns.spec +++ b/python-aiodns.spec @@ -5,12 +5,16 @@ Name: python-aiodns Version: 2.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Simple DNS resolver for asyncio License: MIT URL: https://github.com/saghul/aiodns Source0: https://github.com/saghul/%{srcname}/archive/%{srcname}-%{version}.tar.gz +# backport from upstream +# commit: 281112107c742a3e24e8bce2cb09c3c4d9d01b6d +# Python typing is available in Python core since 3.5 +Patch0: setup-typing-exists-since-Python-35.patch BuildArch: noarch BuildRequires: python3-devel @@ -62,6 +66,10 @@ with a synchronous looking interface by using pycares. %changelog +* Wed Jan 13 2021 Matthieu Saulnier - 2.0.0-6 +- Add Patch0 to fix epel8 installation package + Backport from upstream commit: 28111210 + * Tue Jul 28 2020 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 86d6dbe..025301c 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (aiodns-2.0.0.tar.gz) = 571c216edf24ad00b326f036b9ca39ab52d1bebd542c677bf9fb1978370be67bbdaeedc19228a8f4a20645fddbd18bd0e37f0404fec61d14fbf7638037b2c32b +SHA512 (setup-typing-exists-since-Python-35.patch) = ff0d1b8dfb88d3edf28a3a8c73cb12e92ba434af632395c97d5205feb89a167a7bc71cb0d1841cec966732f53095a53d388da7e02ec9e9d1d63f55b0fc6e9487