mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +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}
|
%if 0%{?__builddir:1}
|
||||||
cd %__builddir
|
cd %__builddir
|
||||||
%endif
|
%endif
|
||||||
|
# Fedora uses __cmake_builddir
|
||||||
|
%if 0%{?__cmake_builddir:1}
|
||||||
|
cd %__cmake_builddir
|
||||||
|
%endif
|
||||||
make fish_run_tests
|
make fish_run_tests
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
|
Loading…
Reference in New Issue
Block a user