mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
fish.spec: switch to %cmake_build macro when available
Should fix the build on Fedora 33.
This commit is contained in:
parent
d8cf8de99b
commit
a97566b6f1
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir}"
|
||||||
%else
|
%else
|
||||||
%cmake $EXTRA_CMAKE_FLAGS
|
%cmake $EXTRA_CMAKE_FLAGS
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?make_jobs:1}
|
$if 0%{?%cmake_build:1}
|
||||||
%make_jobs
|
%cmake_build
|
||||||
%else
|
%else
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
%endif
|
%endif
|
||||||
|
|
Loading…
Reference in a new issue