From b9a6846039eec31e4209cedd571608c02a9fa02a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=B0=8F=E4=BC=99?= <412998149@qq.com> Date: Mon, 24 Feb 2025 02:34:57 +0000 Subject: [PATCH 1/2] Disable lto and mold to fix build issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 编译小伙 <412998149@qq.com> --- python-lxml.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-lxml.spec b/python-lxml.spec index 0552f91..e945f48 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-lxml Version: 5.3.0 -Release: 1 +Release: 2 Summary: XML processing library combining libxml2/libxslt with the ElementTree API License: BSD URL: https://github.com/lxml/lxml @@ -16,6 +16,9 @@ Source0: https://files.pythonhosted.org/packages/e7/6b/20c3a4b24751377aaa6307eb2 %description %{_description} +%define _ld_use %{nil} +%define _lto_cflags %{nil} + %package -n python3-lxml Summary: XML processing library combining libxml2/libxslt with the ElementTree API Provides: python-lxml = %{version}-%{release} @@ -75,6 +78,9 @@ make test %doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt %changelog +* Mon Feb 24 2024 liyancheng <412998149@qq.com> - 5.3.0-2 +- Disable lto and mold to fix build issue. + * Mon Sep 09 2024 lixiaoyong - 5.3.0-1 - upgrade version to 5.3.0 - GH#421: Nested CDATA sections are no longer rejected but split on output to represent ]]> correctly. Patch by Gertjan Klein -- Gitee From fa9be39265da091f9a5cdfa2bb2ef014bb2462d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=B0=8F=E4=BC=99?= <412998149@qq.com> Date: Mon, 24 Feb 2025 02:57:44 +0000 Subject: [PATCH 2/2] fix wrong year MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 编译小伙 <412998149@qq.com> --- python-lxml.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-lxml.spec b/python-lxml.spec index e945f48..e534e7c 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -78,7 +78,7 @@ make test %doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt %changelog -* Mon Feb 24 2024 liyancheng <412998149@qq.com> - 5.3.0-2 +* Mon Feb 24 2025 liyancheng <412998149@qq.com> - 5.3.0-2 - Disable lto and mold to fix build issue. * Mon Sep 09 2024 lixiaoyong - 5.3.0-1 -- Gitee