Move README and LICENSE to main package
As a result, make the entire doc subpackage dependent on doc_pdf.
This commit is contained in:
parent
e860ec921c
commit
e76fcf51d9
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue