mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 01:16:36 +08: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
|
@ -74,8 +74,8 @@ EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir}"
|
|||
%else
|
||||
%cmake $EXTRA_CMAKE_FLAGS
|
||||
%endif
|
||||
%if 0%{?make_jobs:1}
|
||||
%make_jobs
|
||||
$if 0%{?%cmake_build:1}
|
||||
%cmake_build
|
||||
%else
|
||||
make %{?_smp_mflags}
|
||||
%endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user