!54 [sync] PR-51: 删除源码包中etree.c等文件,构建过程自动生成
From: @openeuler-sync-bot Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
2945d18021
@ -7,7 +7,7 @@ The latest release works with all CPython versions from 2.7 to 3.7.
|
|||||||
|
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 4.7.1
|
Version: 4.7.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
|
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://files.pythonhosted.org
|
URL: https://files.pythonhosted.org
|
||||||
@ -32,6 +32,8 @@ BuildRequires: python3-devel python3-setuptools python3-Cython
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{modname}-%{version} -p1
|
%autosetup -n %{modname}-%{version} -p1
|
||||||
|
# Remove pregenerated Cython C sources
|
||||||
|
find -type f -name '*.c' -print -delete
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export WITH_CYTHON=true
|
export WITH_CYTHON=true
|
||||||
@ -53,6 +55,9 @@ make test3
|
|||||||
%doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
|
%doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 25 2022 shixuantong <shixuantong@h-partners.com> - 4.7.1-4
|
||||||
|
- Remove pregenerated Cython C sources
|
||||||
|
|
||||||
* Thu Jul 21 2022 renhongxun <renhongxun@h-partners.com> - 4.7.1-3
|
* Thu Jul 21 2022 renhongxun <renhongxun@h-partners.com> - 4.7.1-3
|
||||||
- fix CVE-2022-2309
|
- fix CVE-2022-2309
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user