diff --git a/python-Paste.spec b/python-Paste.spec index 36692ce..3c3b54e 100644 --- a/python-Paste.spec +++ b/python-Paste.spec @@ -26,7 +26,7 @@ License: MIT Group: Development/Languages/Python URL: http://pythonpaste.org Source: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz -BuildRequires: %{python_module devel} +Patch0: python37.patch # Test build requirements: BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} @@ -62,6 +62,7 @@ rm tests/test_proxy.py rm paste/urlmap.py.orig rm paste/httpserver.py.orig rm paste/util/template.py.orig +%patch0 -p1 %build %python_build