Remove pregenerated Cython C sources
(cherry picked from commit 886aca2168ecd118e76518792d1dd6e10ff52d6b)
This commit is contained in:
parent
d55b93ff1a
commit
3dbaab1a89
@ -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