From 2f8c6f35b9c354c731f7bc9fea77a47113443e6f Mon Sep 17 00:00:00 2001 From: David Adam Date: Tue, 18 Feb 2020 22:02:13 +0800 Subject: [PATCH] fish.spec: tidy up documentation entries --- fish.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fish.spec.in b/fish.spec.in index e10b0910c..cba6400fd 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -87,6 +87,8 @@ make %{?_smp_mflags} %if 0%{?suse_version} %suse_update_desktop_file fish "System;TerminalEmulator" %endif +cp -a README.md %{buildroot}%{_pkgdocdir} +cp -a CONTRIBUTING.md %{buildroot}%{_pkgdocdir} %check # OpenSUSE does out-of-tree builds and defines __builddir @@ -115,12 +117,10 @@ fi %defattr(-,root,root,-) # The documentation directory -%docdir %{_datadir}/doc/fish/ -%{_datadir}/doc/fish/ +%doc %{_datadir}/doc/fish/ # man files %{_mandir}/man1/* -%docdir %{_datadir}/fish/man/man1/ %{_datadir}/fish/man/man1/ # The program binaries