From e76fcf51d93e00972a560bbf6d822a3d8bc5c5c2 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 6 Jun 2023 10:21:09 -0400 Subject: [PATCH] Move README and LICENSE to main package As a result, make the entire doc subpackage dependent on doc_pdf. --- python-chardet.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-chardet.spec b/python-chardet.spec index 90f42e2..4a71562 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -114,14 +114,14 @@ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE2}' %files -n python3-chardet -f %{pyproject_files} +%license LICENSE +%doc README.rst %{_bindir}/chardetect %{_mandir}/man1/chardetect.1* -%files doc -%license LICENSE -%doc README.rst %if %{with doc_pdf} +%files doc %doc docs/_build/latex/chardet.pdf %endif