!55 删除源码包中etree.c等文件,构建过程自动生成

From: @tong_1001 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-07-25 09:29:15 +00:00 committed by Gitee
commit 7bc336b7cd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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.9.1 Version: 4.9.1
Release: 1 Release: 2
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://github.com/lxml/lxml URL: https://github.com/lxml/lxml
@ -29,6 +29,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
@ -50,6 +52,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.9.1-2
- Remove pregenerated Cython C sources
* Mon Jul 25 2022 liksh <liks11@chinaunicom.cn> - 4.9.1-1 * Mon Jul 25 2022 liksh <liks11@chinaunicom.cn> - 4.9.1-1
- Upgrade to 4.9.1 for openstack yoga - Upgrade to 4.9.1 for openstack yoga