Don't ship .txt rst sources

The sources are already rendered to man pages and shipped as html.

Fix the rpmlint error:
  E: zero-length /usr/share/doc/mercurial/hg-ssh.8.gendoc.txt
This commit is contained in:
Mads Kiilerich 2022-05-03 16:33:54 +02:00
parent cb1bb27b37
commit ab44cbe5c0

View File

@ -223,7 +223,7 @@ pathfix.py -pni "%{python3}" %{buildroot}%{_bindir}/hg-ssh
%files -f %{name}-base.files -f hg.lang
%doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi contrib/*.wsgi
%doc CONTRIBUTORS COPYING doc/README doc/hg*.html *.cgi contrib/*.fcgi contrib/*.wsgi
%doc %attr(644,root,root) %{_mandir}/man?/hg*.gz
%doc %attr(644,root,root) contrib/*.svg
%dir %{_datadir}/zsh/