mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:41:08 +08:00
fish.spec: drop _docdir entirely
The _docdir and _pkgdocdir macros are too variable between systems, and the CMake macros do not use them at all; define the path directly.
This commit is contained in:
parent
dde7ee9c7d
commit
bc68ada893
|
@ -91,8 +91,8 @@ make %{?_smp_mflags}
|
|||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file fish "System;TerminalEmulator"
|
||||
%endif
|
||||
cp -a README.rst %{buildroot}%{_docdir}/%{name}/
|
||||
cp -a CONTRIBUTING.rst %{buildroot}%{_docdir}/%{name}/
|
||||
cp -a README.rst %{buildroot}%{_datadir}/doc/fish/
|
||||
cp -a CONTRIBUTING.rst %{buildroot}%{_datadir}/doc/fish/
|
||||
|
||||
%check
|
||||
# OpenSUSE does out-of-tree builds and defines __builddir
|
||||
|
@ -126,7 +126,7 @@ fi
|
|||
%defattr(-,root,root,-)
|
||||
|
||||
# The documentation directory
|
||||
%doc %{_docdir}/%{name}
|
||||
%doc %{_datadir}/doc/fish/
|
||||
|
||||
# man files
|
||||
%{_mandir}/man1/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user