diff --git a/python-lxml.spec b/python-lxml.spec index f89c44a..e46655f 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -28,14 +28,16 @@ Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-Cython -Suggests: python%{python3_version}dist(cssselect) >= 0.7 -Suggests: python%{python3_version}dist(html5lib) -Suggests: python%{python3_version}dist(beautifulsoup4) +Suggests: python3-lxml+cssselect +Suggests: python3-lxml+html5 +Suggests: python3-lxml+htmlsoup %description -n python3-lxml %{_description} Python 3 version. +%python_extras_subpkg -n python3-lxml -i %{python3_sitearch}/lxml-*.egg-info cssselect html5 htmlsoup + %prep %autosetup -n lxml-%{version} -p1 # Remove pregenerated Cython C sources @@ -64,6 +66,7 @@ cp -a build/lib.%{python3_platform}-*/* src/ * Wed Aug 31 2022 Miro HronĨok - 4.7.1-6 - Use SPDX license identifiers - The schematron files are not Zlib licensed, but MIT +- Package the lxml[cssselect], lxml[html5] and lxml[htmlsoup] extras * Fri Jul 22 2022 Fedora Release Engineering - 4.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild