Reduce the type safety as a workaround for build failures in Fedora 40+

- Fixes: rhbz#2261034
- Fixes: rhbz#2256232
This commit is contained in:
Miro Hrončok 2024-02-07 10:58:36 +01:00
parent 009f7659b7
commit 0f51029568

View File

@ -21,6 +21,10 @@ BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: python3-devel
# Reduce the type safety as a workaround for https://bugs.launchpad.net/lxml/+bug/2051243
# We trust the tests would uncover real issues.
%global build_type_safety_c 2
# Some of the extras create a build dependency loop.
# - [cssselect] Requires cssselect BuildRequires lxml
# - [html5] Requires html5lib BuildRequires lxml