fish.spec: tidy up documentation entries

This commit is contained in:
David Adam 2020-02-18 22:02:13 +08:00
parent 45fb2024f8
commit 2f8c6f35b9

View File

@ -87,6 +87,8 @@ make %{?_smp_mflags}
%if 0%{?suse_version} %if 0%{?suse_version}
%suse_update_desktop_file fish "System;TerminalEmulator" %suse_update_desktop_file fish "System;TerminalEmulator"
%endif %endif
cp -a README.md %{buildroot}%{_pkgdocdir}
cp -a CONTRIBUTING.md %{buildroot}%{_pkgdocdir}
%check %check
# OpenSUSE does out-of-tree builds and defines __builddir # OpenSUSE does out-of-tree builds and defines __builddir
@ -115,12 +117,10 @@ fi
%defattr(-,root,root,-) %defattr(-,root,root,-)
# The documentation directory # The documentation directory
%docdir %{_datadir}/doc/fish/ %doc %{_datadir}/doc/fish/
%{_datadir}/doc/fish/
# man files # man files
%{_mandir}/man1/* %{_mandir}/man1/*
%docdir %{_datadir}/fish/man/man1/
%{_datadir}/fish/man/man1/ %{_datadir}/fish/man/man1/
# The program binaries # The program binaries