From 606a6226f830620c3ebc751dfba0299ab3ee6875 Mon Sep 17 00:00:00 2001 From: tzing_t Date: Tue, 25 Feb 2025 10:01:27 +0000 Subject: [PATCH] fix build error --- python-lxml.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-lxml.spec b/python-lxml.spec index 0552f91..b6a8dfe 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 @@ -34,6 +34,9 @@ Provides: python3-lxml-doc %description help %{_description} +%define _ld_use %{nil} +%define _lto_cflags %{nil} + %prep %autosetup -n lxml-%{version} -p1 find -type f -name '*.c' -print -delete @@ -75,6 +78,9 @@ make test %doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt %changelog +* Tue Feb 25 2025 tzing_t - 5.3.0-2 +- fix build error + * 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