From bddafeb6e5a50a0d46b5555015b32279838956fe Mon Sep 17 00:00:00 2001 From: shixuantong <1726671442@qq.com> Date: Mon, 25 Jul 2022 15:59:04 +0800 Subject: [PATCH] Remove pregenerated Cython C sources --- python-lxml.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-lxml.spec b/python-lxml.spec index 5d2550c..fe49da7 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -7,7 +7,7 @@ The latest release works with all CPython versions from 2.7 to 3.7. Name: python-%{modname} Version: 4.5.2 -Release: 7 +Release: 8 Summary: XML processing library combining libxml2/libxslt with the ElementTree API License: BSD URL: http://lxml.de @@ -44,6 +44,8 @@ BuildRequires: python3-devel python3-setuptools python3-Cython %prep %autosetup -n %{modname}-%{version} -p1 +# Remove pregenerated Cython C sources +find -type f -name '*.c' -print -delete %build export WITH_CYTHON=true @@ -71,6 +73,9 @@ make test3 %doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt %changelog +* Mon Jul 25 2022 shixuantong - 4.5.2-8 +- Remove pregenerated Cython C sources + * Thu Jul 21 2022 renhongxun - 4.5.2-7 - fix CVE-2022-2309 -- Gitee