mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
fish.spec: use _docdir macro more reliably
_pkgdocdir contains the version on some platforms but not others.
This commit is contained in:
parent
b1b5f5f0ba
commit
897bd62adf
1 changed files with 3 additions and 3 deletions
|
@ -91,8 +91,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.rst %{buildroot}%{_pkgdocdir}
|
cp -a README.rst %{buildroot}%{_docdir}/%{name}/
|
||||||
cp -a CONTRIBUTING.rst %{buildroot}%{_pkgdocdir}
|
cp -a CONTRIBUTING.rst %{buildroot}%{_docdir}/%{name}/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# OpenSUSE does out-of-tree builds and defines __builddir
|
# OpenSUSE does out-of-tree builds and defines __builddir
|
||||||
|
@ -126,7 +126,7 @@ fi
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
# The documentation directory
|
# The documentation directory
|
||||||
%doc %{_datadir}/doc/fish/
|
%doc %{_docdir}/%{name}
|
||||||
|
|
||||||
# man files
|
# man files
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
Loading…
Reference in a new issue