Move README and LICENSE to main package

As a result, make the entire doc subpackage dependent on doc_pdf.
This commit is contained in:
Yaakov Selkowitz 2023-06-06 10:21:09 -04:00
commit e76fcf51d9

View file

@ -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