[packages/python-pyperclip] move docs to (so far empty) apidocs subpackage

atler atler at pld-linux.org
Thu Jun 22 03:26:37 CEST 2023


commit 38612b924cf50be8b2b2f4efcddc82f6c1695ee9
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jun 22 01:34:09 2023 +0200

    move docs to (so far empty) apidocs subpackage

 python-pyperclip.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/python-pyperclip.spec b/python-pyperclip.spec
index 72d3604..88bc2b4 100644
--- a/python-pyperclip.spec
+++ b/python-pyperclip.spec
@@ -93,9 +93,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{py_sitescriptdir}/pyperclip
 %{py_sitescriptdir}/pyperclip-%{version}-py*.egg-info
-%if %{with doc}
-%doc docs/_build/html/*
-%endif
 %endif
 
 %if %{with python3}
@@ -103,7 +100,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{py3_sitescriptdir}/pyperclip
 %{py3_sitescriptdir}/pyperclip-%{version}-py*.egg-info
+%endif
+
 %if %{with doc}
+%files apidocs
 %doc docs/_build/html/*
 %endif
-%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyperclip.git/commitdiff/38612b924cf50be8b2b2f4efcddc82f6c1695ee9



More information about the pld-cvs-commit mailing list