diff --git a/python-lxml.spec b/python-lxml.spec index 70b4c4e..85d3de3 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -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