From 28114ac50424a2449b3d34ce63351120392e6a2a Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Thu, 16 Nov 2017 02:00:02 +0100 Subject: [PATCH] Prevent byte-compilation errors on Python 2. --- python-jinja2.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/python-jinja2.spec b/python-jinja2.spec index 332978f..b1894fe 100644 --- a/python-jinja2.spec +++ b/python-jinja2.spec @@ -139,11 +139,9 @@ pushd python2 # remove hidden file rm -rf docs/_build/html/.buildinfo -%if ! %{with async} # these files are valid only on Python 3.6+ rm %{buildroot}%{python2_sitelib}/jinja2/asyncsupport.py rm %{buildroot}%{python2_sitelib}/jinja2/asyncfilters.py -%endif # ! with async popd %endif # with python2