Remove the extras subpackages

Resolves: rhbz#2157708
This commit is contained in:
Charalampos Stratakis 2023-02-11 13:30:57 +01:00
parent 08aaaade59
commit 0eff636201

View File

@ -3,7 +3,7 @@
Name: python%{python3_pkgversion}-lxml Name: python%{python3_pkgversion}-lxml
Version: 4.9.2 Version: 4.9.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: XML processing library combining libxml2/libxslt with the ElementTree API Summary: XML processing library combining libxml2/libxslt with the ElementTree API
# The lxml project is licensed under BSD-3-Clause # The lxml project is licensed under BSD-3-Clause
@ -23,14 +23,6 @@ BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-Cython
%if 0%{?rhel} == 9
Suggests: python3-lxml+cssselect
Suggests: python3-lxml+html5
Suggests: python3-lxml+htmlsoup
%python_extras_subpkg -n python%{python3_pkgversion}-lxml -i %{python3_sitearch}/lxml-*.egg-info cssselect html5 htmlsoup
%endif #rhel9
%global _description \ %global _description \
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It\ lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It\
provides safe and convenient access to these libraries using the ElementTree It\ provides safe and convenient access to these libraries using the ElementTree It\
@ -67,6 +59,9 @@ cp -a build/lib.%{python3_platform}-*/* src/
%{python3_sitearch}/lxml-*.egg-info/ %{python3_sitearch}/lxml-*.egg-info/
%changelog %changelog
* Fri Feb 10 2023 Charalampos Stratakis <cstratak@redhat.com> - 4.9.2-2
- Remove the extras subpackages
* Mon Nov 14 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.9.2-1 * Mon Nov 14 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.9.2-1
- Initial package - Initial package
- Fedora contributions by: - Fedora contributions by: