mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:18:59 +08:00
fish.spec: use all available macros to find build location
Fixes the build on all active platforms.
This commit is contained in:
parent
7e09c6e72c
commit
2def146c67
|
@ -88,6 +88,10 @@ cp -a CONTRIBUTING.rst %{buildroot}%{_datadir}/doc/fish/
|
|||
%if 0%{?__builddir:1}
|
||||
cd %__builddir
|
||||
%endif
|
||||
# Fedora uses __cmake_builddir
|
||||
%if 0%{?__cmake_builddir:1}
|
||||
cd %__cmake_builddir
|
||||
%endif
|
||||
make fish_run_tests
|
||||
|
||||
%clean
|
||||
|
|
Loading…
Reference in New Issue
Block a user