mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue