diff --git a/python-lxml.spec b/python-lxml.spec index a3c771d..8f66aa6 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -2,7 +2,7 @@ Name: python-%{modname} Version: 4.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: XML processing library combining libxml2/libxslt with the ElementTree API License: BSD @@ -52,16 +52,15 @@ Python 3 version. %prep %autosetup -n %{modname}-%{version} # Remove pregenerated Cython C sources -# TODO: re-enable after dropping py2 -#find -type f -name '*.c' -print -delete +find -type f -name '*.c' -print -delete %build -%py2_build env WITH_CYTHON=true %py3_build +%py2_build %install %py2_install -env WITH_CYTHON=true %py3_install +%py3_install %check %{__python2} setup.py test @@ -80,6 +79,9 @@ env WITH_CYTHON=true %py3_install %{python3_sitearch}/%{modname}-*.egg-info/ %changelog +* Sat Sep 07 2019 Igor Gnatenko - 4.4.1-2 +- Generate C files using py3 Cython + * Sat Sep 07 2019 Igor Gnatenko - 4.4.1-1 - Update to 4.4.1