Skip to content

Commit

Permalink
Package documentation separately.
Browse files Browse the repository at this point in the history
  • Loading branch information
nephros committed Dec 20, 2023
1 parent dd6d722 commit 7bff81a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion rpm/python3-lxml.spec
Expand Up @@ -18,6 +18,11 @@ bindings. In particular, lxml deals with Python Unicode strings
rather than encoded UTF-8 and handles memory management automatically,
unlike the default bindings.

%package doc
Summary: Documentation for Python bindings for libxml2 and libxslt

%description doc
%{summary}.

%prep
%setup -q -n %{name}-%{version}/lxml
Expand All @@ -32,5 +37,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%license LICENSES.txt
%doc README.rst CREDITS.txt CHANGES.txt doc/
%{python3_sitearch}/*

%files doc
%defattr(-,root,root,-)
%doc README.rst CREDITS.txt CHANGES.txt doc/

0 comments on commit 7bff81a

Please sign in to comment.