Add patch for Python 3.8 support

https://github.com/tiran/defusedxml/pull/35
This commit is contained in:
Miro Hrončok
2019-04-10 14:11:06 +02:00
parent a3fd36dd25
commit 38eed839d4
2 changed files with 35 additions and 1 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ Summary: XML bomb protection for Python stdlib modules
License: Python
URL: https://github.com/tiran/defusedxml
Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Patch1: %{url}/pull/35/commits/730872cc3a8a4467e9c7fa07063bfa9b20a790c5.patch#/python38.patch
BuildArch: noarch
@@ -81,7 +82,7 @@ module. This is the python%{python3_other_pkgversion} build.
%endif # with_python3
%prep
%setup -q -n %{pypi_name}-%{version}
%autosetup -p1 -n %{pypi_name}-%{version}
%build
%py2_build