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