From ab44cbe5c03865c92713506e5c16c8c802e97f45 Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Tue, 3 May 2022 16:33:54 +0200 Subject: [PATCH] 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 --- mercurial.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mercurial.spec b/mercurial.spec index e13de20..0cc58f4 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -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/