diff --git a/python-lxml.spec b/python-lxml.spec index 0552f915d3bbc41193785226aef5e208446f5d50..e534e7cc8fa3506a8bf73e95c07a67fca7827ab4 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 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 - 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