Add patch for Python 3.8 support
https://github.com/tiran/defusedxml/pull/35
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user