Accepting request 1084383 from home:dirkmueller:acdc:as_python3_module

- Switch documentation to be within the main package.

OBS-URL: https://build.opensuse.org/request/show/1084383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=179
This commit is contained in:
Matej Cepl 2023-05-03 14:42:26 +00:00 committed by Git OBS Bridge
parent ecf0110d20
commit 5efd90fd4d
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 23 23:11:01 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Switch documentation to be within the main package.
-------------------------------------------------------------------
Sun Apr 23 01:04:31 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@ -55,6 +55,7 @@ provides convenient access to these libraries using the ElementTree
API. It extends the ElementTree API significantly to offer support for XPath,
RelaxNG, XML Schema, XSLT and C14N.
%if 0%{?suse_version} > 1500
%package -n %{name}-doc
Summary: Documentation for python-lxml, an XML processing library
Group: Documentation/Other
@ -67,6 +68,7 @@ API. It extends the ElementTree API significantly to offer support for XPath,
RelaxNG, XML Schema, XSLT and C14N.
This package contains documentation for lxml (HTML and PDF).
%endif
%package devel
Summary: Development files for python-lxml
@ -125,14 +127,16 @@ export PYTHON3="$python"
%exclude %{python_sitearch}/lxml/*.h
%exclude %{python_sitearch}/lxml/includes/*.h
%if 0%{?suse_version} > 1500
%files -n %{name}-doc
%license LICENSES.txt
%endif
%doc doc/html
%doc lxmldoc-*.pdf
%files %{python_files devel}
%license LICENSES.txt
%{python_sitearch}/lxml/*.h
%{python_sitearch}/lxml/includes/*.h
%files -n %{name}-doc
%license LICENSES.txt
%doc doc/html
%doc lxmldoc-*.pdf
%changelog